diff --git a/index.php b/index.php index e1ddbcf..293c448 100644 --- a/index.php +++ b/index.php @@ -33,6 +33,7 @@ +
@@ -99,3 +100,4 @@ + diff --git a/topRedditPost.py b/topRedditPost.py old mode 100644 new mode 100755 index 29ad04a..b36ca4e --- a/topRedditPost.py +++ b/topRedditPost.py @@ -16,7 +16,7 @@ def getShowerThought(): for submission in subreddit.get_hot(limit = 5): submissionArray.append(submission.title) - with open('topSubPost.txt', 'w') as outputFile: + with open('/var/www/html/topSubPost.txt', 'w') as outputFile: print(submissionArray[2]) outputFile.write(str(submissionArray[2])) @@ -72,7 +72,7 @@ def getWeatherReport(): forcastList.insert(0,timeOfDay()) print(forcastList) - with open('weatherData.txt', 'w') as outputFile: + with open('/var/www/html/weatherData.txt', 'w') as outputFile: for element in forcastList: outputFile.write(str(element) + '\n') @@ -80,4 +80,4 @@ def main(): getShowerThought() getWeatherReport() -main() \ No newline at end of file +main() diff --git a/topSubPost.txt b/topSubPost.txt index 7275f1e..6ad2c6e 100644 --- a/topSubPost.txt +++ b/topSubPost.txt @@ -1 +1 @@ -"It's not a pyramid scheme" is a phrase almost exclusively used by people involved in pyramid schemes \ No newline at end of file +"Remind me to ________" is just another way of saying, "If I forget, it's your fault too". \ No newline at end of file diff --git a/weatherData.txt b/weatherData.txt index 0d5adf4..88a111b 100644 --- a/weatherData.txt +++ b/weatherData.txt @@ -1,7 +1,7 @@ -day -Cloudy.png -19 +night +Clear sky.png +5 0 mm -Light air -1 m/s -west-northwest +Gentle breeze +4 m/s +northeast