Fix selection of output types

This commit is contained in:
Marco van Dijk 2021-07-09 21:53:12 +02:00
parent e32d66c10b
commit 72c4daa126

View File

@ -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: