From cbdaeadefbc52cefee7b65c9e9af3622b4cc9c57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lebleu?= Date: Fri, 21 Nov 2014 10:32:38 +0100 Subject: [PATCH] [fix] Append proper value to arg_strings for a list in the api --- moulinette/interfaces/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moulinette/interfaces/api.py b/moulinette/interfaces/api.py index 17b79ef8..9a764c82 100644 --- a/moulinette/interfaces/api.py +++ b/moulinette/interfaces/api.py @@ -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,