diff options
Diffstat (limited to 'daily.py')
-rwxr-xr-x | daily.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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"), |