From: Sarah Hoffmann Date: Thu, 14 Jan 2021 10:12:45 +0000 (+0100) Subject: make sure that environment variables have highest prio X-Git-Tag: v3.7.0~57^2~8 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/ba13cfd9ffcbb2598c227850736abb9da720a636 make sure that environment variables have highest prio --- diff --git a/nominatim/config.py b/nominatim/config.py index 0a595374..6395bf2a 100644 --- a/nominatim/config.py +++ b/nominatim/config.py @@ -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