diff --git a/analytic_structure.py b/analytic_structure.py index 781445e6c69ac9a5bf10337d3f642b6d1750e80d_YW5hbHl0aWNfc3RydWN0dXJlLnB5..d3ff3a95e41bfbbc509ce8128bd914b952255493_YW5hbHl0aWNfc3RydWN0dXJlLnB5 100644 --- a/analytic_structure.py +++ b/analytic_structure.py @@ -310,7 +310,7 @@ # Now we can insert the fields in the view's architecture. for field in elem_fields: attrs = {'name': field} - modifiers = json.loads(elem.attrib.get('modifiers', {})) + modifiers = json.loads(elem.attrib.get('modifiers', '{}')) attrs['modifiers'] = json.dumps({ attr: value for attr, value in modifiers.iteritems() if attr != 'readonly' or