Browse Source

2to3 fix

feature/balanceutils
Fr3deric 8 years ago committed by Frederic
parent
commit
7cfd86d7cf
  1. 2
      miniplayer.py

2
miniplayer.py

@ -104,7 +104,7 @@ class MiniPlayer(object):
# play the animation in case it had been successfully loaded before # play the animation in case it had been successfully loaded before
if currentAnim is not None: if currentAnim is not None:
if currentAnim.duration < self.loopTime: if currentAnim.duration < self.loopTime:
count = self.loopTime / currentAnim.duration count = self.loopTime // currentAnim.duration
else: else:
count = 1 count = 1
player.play(currentAnim, self.__output, count=count) player.play(currentAnim, self.__output, count=count)

Loading…
Cancel
Save