Skip to content

Commit

Permalink
fix(env.py): parse env var as float
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpomerenke committed Sep 1, 2024
1 parent cdd3601 commit 6bb6b91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend-python/media_impact_monitor/util/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6bb6b91

Please sign in to comment.