mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
[fix] Use a copy of extra_args to prevent to break EVERYTHING in the api
This commit is contained in:
parent
dc3657fcae
commit
5d12977f10
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue