diff --git a/osm_rawdata/postgres.py b/osm_rawdata/postgres.py index 1eab5ba..74b2422 100755 --- a/osm_rawdata/postgres.py +++ b/osm_rawdata/postgres.py @@ -132,7 +132,7 @@ def __init__(self, # Use a persistant connect, better for multiple requests self.session = requests.Session() - db = os.getenv('UNDERPASS_API') + db = os.getenv('UNDERPASS_API_URL') if db: self.url = db else: