Compare commits

..

No commits in common. "55d2922a09a3b39b2dfe8fe1bdb02b58c55b2d27" and "0ed4ae198c340afa919b77675c7e7edcf60415a1" have entirely different histories.

1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,6 @@
from random import randint
import datetime
from main import DATETIME_STR
# updates the guid given in two places with the RSS file, essential for letting readers know
# a new picture has been published
@ -10,6 +9,11 @@ from main import DATETIME_STR
# also updates pubDate and lastBuildDate
# finally, updates the image name as well
# this will change between calls due to microseconds
# better for it just to be a global
DATETIME_STR = str(datetime.datetime.today()).replace(' ', "-")
# we don't need those pesky microseconds any way
DATETIME_STR = DATETIME_STR[:-7]
def update_rss_feed(rss_file_name):
rss_file = ""