diff --git a/capsul/engine/settings.py b/capsul/engine/settings.py index e9fa9b65..e50a3037 100644 --- a/capsul/engine/settings.py +++ b/capsul/engine/settings.py @@ -318,7 +318,8 @@ def import_configs(self, environment, config_dict, cont_on_error=False): for k, v in config.items() if k not in ("config_id", "config_environment") } - conf.set_values(values) + if values: + conf.set_values(values) else: session.new_config(module, environment, config) except Exception as e: