From 8822b1ef361c3ae46b9d3ac9b7e41a797552d211 Mon Sep 17 00:00:00 2001 From: manetta Date: Sun, 10 Jan 2021 12:47:26 +0100 Subject: [PATCH] edited the printout to stdout --- rss-to-ap/rss-to-ap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rss-to-ap/rss-to-ap.py b/rss-to-ap/rss-to-ap.py index 8428de3..991460f 100644 --- a/rss-to-ap/rss-to-ap.py +++ b/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