Commit 4c1ef9f0 authored by Ryan Herbert's avatar Ryan Herbert

vidjilparser.py fix 'previous' variable name reference

parent f84a188c
......@@ -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