Be more defensive

This commit is contained in:
Luke Murphy
2020-04-15 13:01:07 +02:00
parent 10d300628d
commit 46c86bdb0e

View File

@ -2,8 +2,12 @@
def filter_update_env(config, env):
if config.get("env", False) is False:
return config
for key, val in env:
config["env"][key] = val
return config