if self.currentColumn:
self.currentColumn.update(False)
note, verseIndex = self.noteIterator.next()
if self.currentColumn:
self.currentColumn.update(False)
note, verseIndex = self.noteIterator.next()
- syllabus = note.lyrics[verseIndex].syllabus()
+ try :
+ syllabus = note.lyrics[verseIndex].syllabus()
+ except IndexError :
+ syllabus = u'…'
column = self.columns[note.midi]
column.update(True, syllabus)
self.currentColumn = column
column = self.columns[note.midi]
column.update(True, syllabus)
self.currentColumn = column