Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
433e0fcf
Commit
433e0fcf
authored
Jun 07, 2018
by
Ryan Herbert
Committed by
Mikaël Salson
Jul 18, 2018
Browse files
vidjilparser.py manage booleans on write
parent
d1ae2b14
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/vidjilparser.py
View file @
433e0fcf
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment