mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
[fix] Do not append empty argument on extra argument parsing
This commit is contained in:
parent
594a1a3c32
commit
8f486d9b65
1 changed files with 2 additions and 1 deletions
|
@ -290,7 +290,8 @@ class ExtraArgumentParser(object):
|
|||
arg_value = parser(extra_value, arg_name, arg_value)
|
||||
|
||||
# Update argument value
|
||||
args[arg_name] = arg_value
|
||||
if arg_value is not None:
|
||||
args[arg_name] = arg_value
|
||||
return args
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue