From a6946587e1b2115d0d2554c5feaa0314ab6f4fde Mon Sep 17 00:00:00 2001 From: Daniel Mach Date: Fri, 29 Sep 2023 09:54:50 +0200 Subject: [PATCH] Fix reading configuration from ENV --- osc/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/conf.py b/osc/conf.py index b5bf6bca..77b976a2 100644 --- a/osc/conf.py +++ b/osc/conf.py @@ -1869,7 +1869,7 @@ def get_config(override_conffile=None, # priority: env, overrides, config if env_key in os.environ: - value = os.environ["env_key"] + value = os.environ[env_key] elif name in overrides: value = overrides.pop(name) elif ini_key in overrides: