mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-03-17 16:52:15 +03:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
23f55505c8
commit
c5e8d12ddd
|
@ -426,7 +426,6 @@ class AniImageFile(ImageFile.ImageFile):
|
|||
self.mode = im.mode
|
||||
|
||||
def seek(self, frame):
|
||||
|
||||
if frame > self.info["frames"] - 1 or frame < 0:
|
||||
msg = "Frame index out of animation bounds"
|
||||
raise EOFError(msg)
|
||||
|
|
Loading…
Reference in New Issue
Block a user