converters.py
: Fix bug with #GOGOEND parsing
bool('0') = True. We need to add `int()` so that bool(0) = False.
This commit is contained in:
parent
3b88104578
commit
c233dda574
@ -85,7 +85,7 @@ def preprocessTJAMeasures(tja):
|
||||
currentScroll = data['value']
|
||||
measure_cur['scroll'] = currentScroll
|
||||
elif data['type'] == 'gogo':
|
||||
currentGogo = bool(data['value'])
|
||||
currentGogo = bool(int(data['value']))
|
||||
measure_cur['gogo'] = currentGogo
|
||||
elif data['type'] == 'barline':
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user