Commit 7ec221e3 authored by Willem ter Berg's avatar Willem ter Berg

Merge branch 'public.version' into

parents e47ca91d eebb78fc
......@@ -62,6 +62,11 @@ def convert_to_list_if_string(key, data_dict, errors, context):
values = data_dict[key]
values = values.replace('"', '')
if isinstance(values, list):
return key, data_dict, errors, context
values.replace('"', '')
if isinstance(values, basestring) and values.startswith('{') and values.endswith('}'):
values = values.replace('"', '')
data_dict[key] = values[1:len(values) - 1].split(',')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment