Correction de typage.
authorpin <pin@fe552daf-6dbe-4428-90eb-1537e0879342>
Mon, 27 Jun 2011 19:57:48 +0000 (19:57 +0000)
committerpin <pin@fe552daf-6dbe-4428-90eb-1537e0879342>
Mon, 27 Jun 2011 19:57:48 +0000 (19:57 +0000)
git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@360 fe552daf-6dbe-4428-90eb-1537e0879342

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) :