Skip to content

Commit

Permalink
use .size instead of ._size
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Murray <[email protected]>
  • Loading branch information
Yay295 and radarhere authored Oct 1, 2024
1 parent 782f0e8 commit c0d04e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PIL/EpsImagePlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ def read_comment(s: str) -> bool:
)

self.tile = [
ImageFile._Tile("eps", (0, 0) + self._size, offset, (length, bounding_box))
ImageFile._Tile("eps", (0, 0) + self.size, offset, (length, bounding_box))
]

def _find_offset(self, fp: IO[bytes]) -> tuple[int, int]:
Expand Down

0 comments on commit c0d04e8

Please sign in to comment.