Skip to content

Commit

Permalink
tile is already an empty list
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Oct 15, 2024
1 parent f2cc87b commit a433f24
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/PIL/GifImagePlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ def _open(self) -> None:

self.info["version"] = s[:6]
self._size = i16(s, 6), i16(s, 8)
self.tile = []
flags = s[10]
bits = (flags & 7) + 1

Expand Down
1 change: 0 additions & 1 deletion src/PIL/WebPImagePlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ def _open(self) -> None:
self.is_animated = self.n_frames > 1
self._mode = "RGB" if mode == "RGBX" else mode
self.rawmode = mode
self.tile = []

# Attempt to read ICC / EXIF / XMP chunks from file
icc_profile = self._decoder.get_chunk("ICCP")
Expand Down

0 comments on commit a433f24

Please sign in to comment.