Remove case for when _imaging module is not present

This commit is contained in:
Eric Soroos 2018-01-03 10:41:36 +00:00
parent 352c4d0cf9
commit d4604bb62b

View File

@ -92,13 +92,9 @@ def _safe_zlib_decompress(s):
class ChunkStream(object):
def __init__(self, fp):
self.fp = fp
self.queue = []
if not hasattr(Image.core, "crc32"):
self.crc = self.crc_skip
def read(self):
"Fetch a new chunk. Returns header information."
cid = None