We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 086e55f commit 8e4ff5fCopy full SHA for 8e4ff5f
1 file changed
ly/musicxml/ly2xml_mediator.py
@@ -294,11 +294,12 @@ def check_part(self):
294
295
def check_simultan(self):
296
"""Check done after simultanoues (<< >>) section."""
297
- if self.part:
298
- self.part.merge_voice(self.sections[-1])
299
- elif len(self.sections)>1:
300
- self.sections[-2].merge_voice(self.sections[-1])
301
- self.sections.pop()
+ if self.sections:
+ if self.part:
+ self.part.merge_voice(self.sections[-1])
+ elif len(self.sections)>1:
+ self.sections[-2].merge_voice(self.sections[-1])
302
+ self.sections.pop()
303
304
def check_score(self):
305
"""
0 commit comments