mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
[fix] Append proper value to arg_strings for a list in the api
This commit is contained in:
parent
7a6fda1e26
commit
cbdaeadefb
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ class _HTTPArgumentParser(object):
|
|||
arg_strings.append(option_string)
|
||||
for v in value:
|
||||
if isinstance(v, str):
|
||||
arg_strings.append(value)
|
||||
arg_strings.append(v)
|
||||
else:
|
||||
logger.warning("unsupported argument value type %r " \
|
||||
"in %s for option string %s", v, value,
|
||||
|
|
Loading…
Reference in a new issue