From c23651121add218b2e6e507d6c2fd6b88b80af37 Mon Sep 17 00:00:00 2001 From: David Pomerenke <46022183+davidpomerenke@users.noreply.github.com> Date: Mon, 2 Sep 2024 22:19:16 +0200 Subject: [PATCH] chore(cron): enable sentiment trend cache filling --- backend-python/media_impact_monitor/cron.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend-python/media_impact_monitor/cron.py b/backend-python/media_impact_monitor/cron.py index 279b6a3a..a1786c08 100644 --- a/backend-python/media_impact_monitor/cron.py +++ b/backend-python/media_impact_monitor/cron.py @@ -52,7 +52,7 @@ def fill_cache(): except Exception as e: errors.append(f"events {data_source}: {e}") for media_source in ["news_online", "news_print", "web_google"]: - for trend_type in ["keywords"]: # , "sentiment"]: + for trend_type in ["keywords", "sentiment"]: for aggregation in ["daily", "weekly"]: if aggregation == "daily" and media_source == "web_google": continue