diff --git a/PIL/ImageFile.py b/PIL/ImageFile.py index 8f3ee524c..eb0c04d76 100644 --- a/PIL/ImageFile.py +++ b/PIL/ImageFile.py @@ -237,8 +237,6 @@ class ImageFile(Image.Image): self.tile = [] self.readonly = readonly - self.fp = None # might be shared - if not self.map and not LOAD_TRUNCATED_IMAGES and err_code < 0: # still raised if decoder fails to return anything raise_ioerror(err_code)