Merge pull request #1397 from radarhere/health

Health fix
This commit is contained in:
Hugo van Kemenade 2015-08-28 12:59:38 +03:00
commit 651f792dcb

View File

@ -702,7 +702,7 @@ class TiffImageFile(ImageFile.ImageFile):
if not self.__next: if not self.__next:
raise EOFError("no more images in TIFF file") raise EOFError("no more images in TIFF file")
if DEBUG: if DEBUG:
print("Seeking to frame %s, on frame %s, " + print("Seeking to frame %s, on frame %s, "
"__next %s, location: %s" % "__next %s, location: %s" %
(frame, self.__frame, self.__next, self.fp.tell())) (frame, self.__frame, self.__next, self.fp.tell()))
# reset python3 buffered io handle in case fp # reset python3 buffered io handle in case fp