Skip to content
Snippets Groups Projects
Commit 781445e6 authored by Jérémie Gavrel's avatar Jérémie Gavrel
Browse files

Corrected previous commit

parent 1424e15a
No related branches found
No related tags found
No related merge requests found
...@@ -313,7 +313,7 @@ ...@@ -313,7 +313,7 @@
modifiers = json.loads(elem.attrib.get('modifiers', {})) modifiers = json.loads(elem.attrib.get('modifiers', {}))
attrs['modifiers'] = json.dumps({ attrs['modifiers'] = json.dumps({
attr: value for attr, value in modifiers.iteritems() attr: value for attr, value in modifiers.iteritems()
if attr == 'readonly' or if attr != 'readonly' or
elem.attrib.get(attr, 'False') in ('True', 'true', '1') elem.attrib.get(attr, 'False') in ('True', 'true', '1')
}) })
for attr, value in elem.attrib.iteritems(): for attr, value in elem.attrib.iteritems():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment