Skip to content

Commit

Permalink
fix: use os.getenv instead of os.environ
Browse files Browse the repository at this point in the history
  • Loading branch information
ofr1tz committed Nov 28, 2024
1 parent 315d239 commit 2b88cf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapswipe_workers/mapswipe_workers/definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
OSMCHA_API_LINK = "https://osmcha.org/api/v1/"
OSMCHA_API_KEY = os.environ["OSMCHA_API_KEY"]
MAPILLARY_API_LINK = "https://tiles.mapillary.com/maps/vtp/mly1_computed_public/2/"
MAPILLARY_API_KEY = os.environ["MAPILLARY_API_KEY"]
MAPILLARY_API_KEY = os.getenv("MAPILLARY_API_KEY")

# number of geometries for project geometries
MAX_INPUT_GEOMETRIES = 10
Expand Down

0 comments on commit 2b88cf7

Please sign in to comment.