diff --git a/moulinette/actionsmap.py b/moulinette/actionsmap.py index a7e07ae9..579dce26 100644 --- a/moulinette/actionsmap.py +++ b/moulinette/actionsmap.py @@ -264,7 +264,7 @@ class ExtraArgumentParser(object): - args -- A dict of argument name associated to their value """ - extra_args = self._extra_params.get(GLOBAL_ARGUMENT, {}) + extra_args = dict(self._extra_params.get(GLOBAL_ARGUMENT, {})) extra_args.update(self._extra_params.get(tid, {})) # Iterate over action arguments with extra parameters