mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-03 13:14:27 +03:00
Trailer is not in header, ImageData or itself
This commit is contained in:
parent
094f23dd5c
commit
9de4b72c97
|
@ -373,8 +373,7 @@ class EpsImageFile(ImageFile.ImageFile):
|
|||
|
||||
s = str(bytes_mv[:bytes_read], "latin-1")
|
||||
_read_comment(s)
|
||||
|
||||
if bytes_mv[:9] == b"%%Trailer":
|
||||
elif bytes_mv[:9] == b"%%Trailer":
|
||||
trailer_reached = True
|
||||
bytes_read = 0
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user