From ba13cfd9ffcbb2598c227850736abb9da720a636 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Thu, 14 Jan 2021 11:12:45 +0100 Subject: [PATCH] make sure that environment variables have highest prio --- nominatim/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.45.2