]> git.openstreetmap.org Git - nominatim.git/commitdiff
make sure that environment variables have highest prio
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 14 Jan 2021 10:12:45 +0000 (11:12 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 14 Jan 2021 10:12:45 +0000 (11:12 +0100)
nominatim/config.py

index 0a595374eeb1414f61142a85b313a6ab86506f21..6395bf2a5a3e10ac2e0b76dc573ac969186721b9 100644 (file)
@@ -32,7 +32,7 @@ class Configuration:
         """ Return a copy of the OS environment with the Nominatim configuration
             merged in.
         """
-        env = dict(os.environ)
-        env.update(self._config)
+        env = dict(self._config)
+        env.update(os.environ)
 
         return env