mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] avoid returning None when an empty dict is expected
This commit is contained in:
parent
1de1b43e2f
commit
4f73f1aed2
1 changed files with 1 additions and 0 deletions
|
@ -2018,6 +2018,7 @@ def _parse_args_from_manifest(manifest, action, args={}, auth=None):
|
|||
action_args = manifest['arguments'][action]
|
||||
except KeyError:
|
||||
logger.debug("no arguments found for '%s' in manifest", action)
|
||||
return OrderedDict()
|
||||
else:
|
||||
return _parse_action_args_in_yunohost_format(args, action_args, auth)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue