Commit 433e0fcf authored by Ryan Herbert's avatar Ryan Herbert Committed by Mikaël Salson

vidjilparser.py manage booleans on write

parent d1ae2b14
......@@ -45,7 +45,9 @@ class VidjilWriter(object):
elif event == 'string':
mstr = '\'{}\','
else:
mstr = '{},'
if event == 'boolean':
value = str(value).lower()
mstr = '{}'
padding = ''
if self.pretty and previous_event != 'map_key':
if len(prefix) > 0:
......
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