X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/blobdiff_plain/16451ecd6dce528312a807394e77f1a832763e03..145a1e9a14954feaf5e3f6806e33c5cd49439bc9:/src/minwii/widgets/playingscreen.py diff --git a/src/minwii/widgets/playingscreen.py b/src/minwii/widgets/playingscreen.py index 0591929..0e179dd 100755 --- a/src/minwii/widgets/playingscreen.py +++ b/src/minwii/widgets/playingscreen.py @@ -293,7 +293,10 @@ class SongPlayingScreen(PlayingScreenBase) : 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