mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-17 10:44:45 +03:00
Merge 6b59c4a28d
into f4b81d6b7e
This commit is contained in:
commit
059569b0be
|
@ -170,7 +170,7 @@ class ImageFile(Image.Image):
|
||||||
self.map, self.size, d, e, o, a
|
self.map, self.size, d, e, o, a
|
||||||
)
|
)
|
||||||
readonly = 1
|
readonly = 1
|
||||||
except (AttributeError, EnvironmentError, ImportError):
|
except (AttributeError, EnvironmentError, ImportError, io.UnsupportedOperation):
|
||||||
self.map = None
|
self.map = None
|
||||||
|
|
||||||
self.load_prepare()
|
self.load_prepare()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user