Skip to content
Snippets Groups Projects
Commit d9451725 authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

Fix generate_oly_score.py

parent 19e52481
No related branches found
No related tags found
No related merge requests found
......@@ -448,7 +448,7 @@ def generate_tex_files (settings, lily_files):
this_settings = copy.deepcopy (tex_settings);
this_settings["scoretype"] = score;
this_settings["scores"] = parts;
tmpopts = this_settings.get ("tex_options", {})
tmpopts = this_settings.get ("tex_options", [])
tmpopts.append (tex_options_map.get (this_settings["scoretype"], ""))
this_settings["tex_options"] = tmpopts
if "createCriticalComments" not in tex_settings:
......@@ -457,7 +457,7 @@ def generate_tex_files (settings, lily_files):
this_settings = copy.deepcopy (tex_settings);
this_settings["scoretype"] = "InstrumentalParts";
tmpopts = this_settings.get ("tex_options", {})
tmpopts = this_settings.get ("tex_options", [])
tmpopts.append (tex_options_map.get (this_settings["scoretype"], ""))
this_settings["tex_options"] = tmpopts
if "createCriticalComments" not in tex_settings:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment