aboutsummaryrefslogtreecommitdiff
path: root/daily.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xdaily.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/daily.py b/daily.py
index e456a9b..d789b2d 100755
--- a/daily.py
+++ b/daily.py
@@ -203,6 +203,9 @@ def generate(
inspiration_text = None
inspiration_image_fn = None
+ logger.info("Finished processing inspirations")
+ logger.info("Starting On This Day")
+
on_this_day_html_en: typing.Optional[str]
try:
with open("otd_en-%s.html" % datetime_target.strftime("%m-%d"), "r") as fd:
@@ -217,9 +220,12 @@ def generate(
except FileNotFoundError:
on_this_day_html_zh = None
logger.warning("On This Day Chinese not found")
+ logger.info("Finished On This Day")
+ logger.info("Starting In The News")
in_the_news_html_en = legacy_wikipedia.get_in_the_news_en()
in_the_news_html_zh = legacy_wikipedia.get_in_the_news_zh()
+ logger.info("Finished In The News")
data = {
"stddate": datetime_target.strftime("%Y-%m-%d"),