Correction de typage.
[minwii.git] / src / minwii / widgets / playingscreen.py
index 9519053..6d66ace 100755 (executable)
@@ -323,6 +323,7 @@ class SongPlayingScreen(PlayingScreenBase) :
     def setNoteTimeout(self) :
         delay = self.currentNote.duration * self.quarterNoteDuration
         delay = delay + delay * self.tempoTrim
+        delay = int(delay)
         pygame.time.set_timer(events.NOTEEND, delay)
     
     def tempoTrimUp(self, step=0.1) :