Commit a797323e authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

Fix crash

parent 7d3ca6f8
......@@ -480,7 +480,7 @@ def generate_tex_files (settings, lily_files):
# Create the tex instruments file only if we have instruments!
if set(this_settings["instruments"]) != set(this_settings["noscore_instruments"]):
if set(this_settings.get("instruments",[])) != set(this_settings.get("noscore_instruments",[])):
this_settings = copy.deepcopy (tex_settings);
this_settings["scoretype"] = "InstrumentalParts";
tmpopts = this_settings.get ("tex_options", [])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment