Python 3 division fix

This commit is contained in:
Hugo 2017-08-04 14:51:02 +03:00
parent 382db4442c
commit d039be7cdd

View File

@ -56,7 +56,7 @@ class FliImageFile(ImageFile.ImageFile):
# animation speed
duration = i32(s[16:20])
if magic == 0xAF11:
duration = (duration * 1000) / 70
duration = (duration * 1000) // 70
self.info["duration"] = duration
# look for palette
@ -176,6 +176,7 @@ class FliImageFile(ImageFile.ImageFile):
def tell(self):
return self.__frame
#
# registry