mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-24 00:04:09 +03:00
Removed _category
This commit is contained in:
parent
f707e8abd6
commit
2cba9904db
|
@ -487,7 +487,6 @@ class Image:
|
|||
self._size = (0, 0)
|
||||
self.palette = None
|
||||
self.info = {}
|
||||
self._category = 0
|
||||
self.readonly = 0
|
||||
self.pyaccess = None
|
||||
self._exif = None
|
||||
|
@ -604,7 +603,6 @@ class Image:
|
|||
and self.mode == other.mode
|
||||
and self.size == other.size
|
||||
and self.info == other.info
|
||||
and self._category == other._category
|
||||
and self.getpalette() == other.getpalette()
|
||||
and self.tobytes() == other.tobytes()
|
||||
)
|
||||
|
|
|
@ -66,9 +66,6 @@ class MicImageFile(TiffImagePlugin.TiffImageFile):
|
|||
self._n_frames = len(self.images)
|
||||
self.is_animated = self._n_frames > 1
|
||||
|
||||
if len(self.images) > 1:
|
||||
self._category = Image.CONTAINER
|
||||
|
||||
self.seek(0)
|
||||
|
||||
def seek(self, frame):
|
||||
|
|
Loading…
Reference in New Issue
Block a user