mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Fix extra parameters absence
This commit is contained in:
parent
3fae8bf1ff
commit
c95469073a
1 changed files with 2 additions and 1 deletions
|
@ -1061,6 +1061,7 @@ class ActionsMap(object):
|
||||||
arg = parser.add_argument(*names, **argp)
|
arg = parser.add_argument(*names, **argp)
|
||||||
if extra:
|
if extra:
|
||||||
extras[arg.dest] = _get_extra(arg.dest, extra)
|
extras[arg.dest] = _get_extra(arg.dest, extra)
|
||||||
|
if extras:
|
||||||
parser.set_defaults(_extra=extras)
|
parser.set_defaults(_extra=extras)
|
||||||
|
|
||||||
# Instantiate parser
|
# Instantiate parser
|
||||||
|
|
Loading…
Reference in a new issue