diff --git a/backend-python/media_impact_monitor/util/env.py b/backend-python/media_impact_monitor/util/env.py index b27159f..3363b48 100644 --- a/backend-python/media_impact_monitor/util/env.py +++ b/backend-python/media_impact_monitor/util/env.py @@ -18,7 +18,7 @@ DATAFORSEO_PASSWORD = environ["DATAFORSEO_PASSWORD"] BUNDESTAG_API_KEY = environ["BUNDESTAG_API_KEY"] SENTRY_DSN = environ["SENTRY_DSN"] -AI_TREND_RESOLUTION = environ.get("AI_TREND_RESOLUTION", 0.01) +AI_TREND_RESOLUTION = float(environ.get("AI_TREND_RESOLUTION", 0.01)) assert ACLED_EMAIL assert ACLED_KEY