Browse Source

edited the printout to stdout

master
manetta 4 years ago
parent
commit
8822b1ef36
  1. 4
      rss-to-ap/rss-to-ap.py

4
rss-to-ap/rss-to-ap.py

@ -25,7 +25,7 @@ year = "{:02d}".format(d.entries[0].published_parsed[0])
month = "{:02d}".format(d.entries[0].published_parsed[1])
day = "{:02d}".format(d.entries[0].published_parsed[2] + 1)
print(year, month, day)
print('LATEST POST IN RSS:', year, month, day)
# -------------------------------------
# WHAT DATE IS IT TODAY?
@ -35,7 +35,7 @@ today_year = "{:02d}".format(int(today[0]))
today_month = "{:02d}".format(int(today[1]))
today_day = "{:02d}".format(int(today[2]))
print(today_year, today_month, today_day)
print('TODAY: ', today_year, today_month, today_day)
# -------------------------------------
# IF ENTRY IS PUBLISHED TODAY

Loading…
Cancel
Save