Skip to content

Commit 4705f1f

Browse files
committed
Avoid to override new settings
1 parent a3901f8 commit 4705f1f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/app.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1993,7 +1993,10 @@ def _call_config_script(self, action, env=None):
19931993
}
19941994
)
19951995
app_script_env = _make_environment_for_app_script(app)
1996-
env.update(app_script_env)
1996+
# Note that we only need to update settings wich are not already set
1997+
# The settings from config panel should be keep as it is
1998+
app_script_env.update(env)
1999+
env = app_script_env
19972000

19982001
ret, values = hook_exec(config_script, args=[action], env=env)
19992002
if ret != 0:

0 commit comments

Comments
 (0)