Skip to content

Commit 5da2df4

Browse files
committed
a
1 parent 91c895d commit 5da2df4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/PIL/ImageFile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ def __init__(
131131
self.decoderconfig: tuple[Any, ...] = ()
132132
self.decodermaxblock = MAXBLOCK
133133

134+
self.fp: IO[bytes] | None
134135
if is_path(fp):
135136
# filename
136137
self.fp = open(fp, "rb")

0 commit comments

Comments
 (0)