unicode type forgotten in api_client.mustache

This commit is contained in:
DariusM 2015-09-16 12:03:30 +02:00
parent 27e434d786
commit cc1c495ea5

View File

@ -189,7 +189,7 @@ class ApiClient(object):
"""
if isinstance(obj, type(None)):
return None
elif isinstance(obj, (str, int, float, bool, tuple)):
elif isinstance(obj, (str, int, float, bool, tuple, unicode)):
return obj
elif isinstance(obj, list):
return [self.sanitize_for_serialization(sub_obj)