Commit 11926a56 authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

Template: Fix noscore_instrument setting

parent cbc51359
......@@ -545,10 +545,10 @@ def generate_webshop_files (settings, lily_files, tex_files):
#print pp.pprint(settings.score_names ())
noscore_instruments = webshop_settings.get ("noscore_instruments", [])
for s in settings.score_names ():
score_settings = settings.get_score_settings (s);
noscore_instruments = score_settings.get ("noscore_instruments", [])
for i in score_settings.get ("scores", []) + ["Instruments"] + score_settings.get ("instruments", []):
if i in noscore_instruments:
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