First return value is unused

This commit is contained in:
Andrew Murray 2022-03-08 19:51:24 +11:00
parent 54a4a38e42
commit e87432b745

View File

@ -231,7 +231,7 @@ class ImageFile(Image.Image):
decoder.setimage(self.im, extents)
if decoder.pulls_fd:
decoder.setfd(self.fp)
status, err_code = decoder.decode(b"")
err_code = decoder.decode(b"")[1]
else:
b = prefix
while True: