Skip to content

Commit

Permalink
Merge pull request #6627 from radarhere/crc
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Oct 13, 2022
2 parents 44510d2 + b34307b commit d138b2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PIL/PngImagePlugin.py
Expand Up @@ -189,7 +189,7 @@ def __exit__(self, *args):
self.close()

def close(self):
self.queue = self.crc = self.fp = None
self.queue = self.fp = None

def push(self, cid, pos, length):

Expand Down Expand Up @@ -224,7 +224,7 @@ def crc(self, cid, data):
) from e

def crc_skip(self, cid, data):
"""Read checksum. Used if the C module is not present"""
"""Read checksum"""

self.fp.read(4)

Expand Down

0 comments on commit d138b2d

Please sign in to comment.