diff --git a/miniplayer.py b/miniplayer.py index b697681..297fbcb 100755 --- a/miniplayer.py +++ b/miniplayer.py @@ -104,7 +104,7 @@ class MiniPlayer(object): # play the animation in case it had been successfully loaded before if currentAnim is not None: if currentAnim.duration < self.loopTime: - count = self.loopTime / currentAnim.duration + count = self.loopTime // currentAnim.duration else: count = 1 player.play(currentAnim, self.__output, count=count)