diff --git a/PIL/TiffImagePlugin.py b/PIL/TiffImagePlugin.py index d442c3766..03203c2eb 100644 --- a/PIL/TiffImagePlugin.py +++ b/PIL/TiffImagePlugin.py @@ -1096,10 +1096,6 @@ class TiffImageFile(ImageFile.ImageFile): self.tile = [] self.readonly = 0 - # libtiff closed the fp in a, we need to close self.fp, if possible - if hasattr(self.fp, 'close'): - if not self.__next: - self.fp.close() self.fp = None # might be shared if err < 0: