mirror of
https://github.com/stronk-dev/Guitar-Sheet-Parser.git
synced 2025-07-05 08:25:09 +02:00
Fix selection of output types
This commit is contained in:
parent
e32d66c10b
commit
72c4daa126
6
main.py
6
main.py
@ -35,9 +35,9 @@ def main():
|
|||||||
songs = lib.initSongs.getSongObjects()
|
songs = lib.initSongs.getSongObjects()
|
||||||
# Get what programs we are going to run
|
# Get what programs we are going to run
|
||||||
configObj = lib.config.config['options']
|
configObj = lib.config.config['options']
|
||||||
exportToImg = configObj['exporttoimg']
|
exportToImg = configObj['exporttoimg'] == '1'
|
||||||
exportToTxt = configObj['exporttotxt']
|
exportToTxt = configObj['exporttotxt'] == '1'
|
||||||
exportToRaw = configObj['exporttoraw']
|
exportToRaw = configObj['exporttoraw'] == '1'
|
||||||
|
|
||||||
# Convert all songs into sections
|
# Convert all songs into sections
|
||||||
for song in songs:
|
for song in songs:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user