summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2020-11-20 10:04:37 +0100
committerAnders Roxell <anders.roxell@linaro.org>2020-11-20 10:04:37 +0100
commitb1fba703ae97492c3d0b53087b73923426858817 (patch)
tree0fccb3344baae2b5c1401bf24d6eef5957ad96c5
parent877d83754e86462c67b9a439ef3aa05ec16fdddd (diff)
squad_client: commands: submit: metadata: allow more types
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
-rw-r--r--squad_client/commands/submit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/squad_client/commands/submit.py b/squad_client/commands/submit.py
index 4bc6178..8a9e421 100644
--- a/squad_client/commands/submit.py
+++ b/squad_client/commands/submit.py
@@ -209,7 +209,7 @@ class SubmitCommand(SquadClientCommand):
if type(key) is not str:
logger.error("Non-string key detected")
return False
- if type(value) not in [str, dict]:
+ if type(value) not in [str, dict, int, list]:
logger.error("Incompatible metadata detected")
return False