Skip to content

Commit

Permalink
💩 Only run Talsperren scraper on prod for now
Browse files Browse the repository at this point in the history
  • Loading branch information
jh0ker committed Sep 2, 2024
1 parent 4a87192 commit 34c2a3d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ddj_cloud/scrapers/talsperren/talsperren.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from traceback import print_exc
from os import getenv

import pandas as pd
import datetime as dt
Expand Down Expand Up @@ -150,4 +151,7 @@ def run():
# from . import locator_maps_create_tooltip_markers
# locator_maps_create_tooltip_markers.run(df_base)

locator_maps.run(df_base)
# For now, only run this on production because we have not set up
# staging maps setup yet
if getenv("STAGE") == "prod":
locator_maps.run(df_base)

0 comments on commit 34c2a3d

Please sign in to comment.