mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 01:16:16 +03:00
Merge pull request #6627 from radarhere/crc
This commit is contained in:
commit
d138b2d41e
|
@ -189,7 +189,7 @@ class ChunkStream:
|
||||||
self.close()
|
self.close()
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
self.queue = self.crc = self.fp = None
|
self.queue = self.fp = None
|
||||||
|
|
||||||
def push(self, cid, pos, length):
|
def push(self, cid, pos, length):
|
||||||
|
|
||||||
|
@ -224,7 +224,7 @@ class ChunkStream:
|
||||||
) from e
|
) from e
|
||||||
|
|
||||||
def crc_skip(self, cid, data):
|
def crc_skip(self, cid, data):
|
||||||
"""Read checksum. Used if the C module is not present"""
|
"""Read checksum"""
|
||||||
|
|
||||||
self.fp.read(4)
|
self.fp.read(4)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user