From 72c4daa126434bd5543b1105b14b77d29b0c8981 Mon Sep 17 00:00:00 2001 From: Marco van Dijk Date: Fri, 9 Jul 2021 21:53:12 +0200 Subject: [PATCH] Fix selection of output types --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 8b94e2e..973787f 100644 --- a/main.py +++ b/main.py @@ -35,9 +35,9 @@ def main(): songs = lib.initSongs.getSongObjects() # Get what programs we are going to run configObj = lib.config.config['options'] - exportToImg = configObj['exporttoimg'] - exportToTxt = configObj['exporttotxt'] - exportToRaw = configObj['exporttoraw'] + exportToImg = configObj['exporttoimg'] == '1' + exportToTxt = configObj['exporttotxt'] == '1' + exportToRaw = configObj['exporttoraw'] == '1' # Convert all songs into sections for song in songs: