Commit 7ff701de authored by Ryan Herbert's avatar Ryan Herbert Committed by Mikaël Salson

vidjilparser.py fix 'previous' variable name reference

parent 433e0fcf
......@@ -49,7 +49,7 @@ class VidjilWriter(object):
value = str(value).lower()
mstr = '{}'
padding = ''
if self.pretty and previous_event != 'map_key':
if self.pretty and previous != 'map_key':
if len(prefix) > 0:
padding = ''.join(['\t' for i in range(len(prefix.split('.')))])
mstr = '{}' + mstr + end
......
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