post_data(): Ignore iterables

This commit is contained in:
Jeremy Stretch 2020-01-31 11:50:12 -05:00
parent 4691e70ddf
commit bae3c83a5b

View File

@ -32,6 +32,8 @@ def post_data(data):
for key, value in data.items():
if value is None:
ret[key] = ''
elif type(value) in (list, tuple):
ret[key] = value
else:
ret[key] = str(value)