Browse Source

2to3 fix

master
Fr3deric 7 years ago committed by Frederic
parent
commit
7cfd86d7cf
  1. 2
      miniplayer.py

2
miniplayer.py

@ -104,7 +104,7 @@ class MiniPlayer(object): @@ -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)

Loading…
Cancel
Save