mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-26 07:04:45 +03:00
Remove case for when _imaging module is not present
This commit is contained in:
parent
352c4d0cf9
commit
d4604bb62b
|
@ -92,13 +92,9 @@ def _safe_zlib_decompress(s):
|
||||||
class ChunkStream(object):
|
class ChunkStream(object):
|
||||||
|
|
||||||
def __init__(self, fp):
|
def __init__(self, fp):
|
||||||
|
|
||||||
self.fp = fp
|
self.fp = fp
|
||||||
self.queue = []
|
self.queue = []
|
||||||
|
|
||||||
if not hasattr(Image.core, "crc32"):
|
|
||||||
self.crc = self.crc_skip
|
|
||||||
|
|
||||||
def read(self):
|
def read(self):
|
||||||
"Fetch a new chunk. Returns header information."
|
"Fetch a new chunk. Returns header information."
|
||||||
cid = None
|
cid = None
|
||||||
|
|
Loading…
Reference in New Issue
Block a user