mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
Removed print statement.
This commit is contained in:
parent
efd47ce63b
commit
6840278b7d
|
@ -138,10 +138,7 @@ class Jpeg2KImageFile(ImageFile.ImageFile):
|
|||
sig = self.fp.read(4)
|
||||
if sig == b'\xff\x4f\xff\x51':
|
||||
self.codec = "j2k"
|
||||
try:
|
||||
self.size, self.mode = _parse_codestream(self.fp)
|
||||
except Exception as e:
|
||||
print e
|
||||
self.size, self.mode = _parse_codestream(self.fp)
|
||||
else:
|
||||
sig = sig + self.fp.read(8)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user