This commit is contained in:
Andrew Murray 2016-08-31 06:53:57 +00:00 committed by GitHub
commit 059569b0be

View File

@ -170,7 +170,7 @@ class ImageFile(Image.Image):
self.map, self.size, d, e, o, a
)
readonly = 1
except (AttributeError, EnvironmentError, ImportError):
except (AttributeError, EnvironmentError, ImportError, io.UnsupportedOperation):
self.map = None
self.load_prepare()