Skip to content

Commit 2b88cf7

Browse files
committed
fix: use os.getenv instead of os.environ
1 parent 315d239 commit 2b88cf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mapswipe_workers/mapswipe_workers/definitions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
OSMCHA_API_LINK = "https://osmcha.org/api/v1/"
1818
OSMCHA_API_KEY = os.environ["OSMCHA_API_KEY"]
1919
MAPILLARY_API_LINK = "https://tiles.mapillary.com/maps/vtp/mly1_computed_public/2/"
20-
MAPILLARY_API_KEY = os.environ["MAPILLARY_API_KEY"]
20+
MAPILLARY_API_KEY = os.getenv("MAPILLARY_API_KEY")
2121

2222
# number of geometries for project geometries
2323
MAX_INPUT_GEOMETRIES = 10

0 commit comments

Comments
 (0)