mirror of
https://github.com/ciromattia/kcc
synced 2026-05-26 17:32:15 +00:00
remove corrupt image checking (#1221)
* remove corrupt image checking Removed image verification step before copying the image. * Update image.py
This commit is contained in:
@@ -157,7 +157,7 @@ class ComicPageParser:
|
|||||||
|
|
||||||
# Detect corruption in source image, let caller catch any exceptions triggered.
|
# Detect corruption in source image, let caller catch any exceptions triggered.
|
||||||
srcImgPath = os.path.join(source[0], source[1])
|
srcImgPath = os.path.join(source[0], source[1])
|
||||||
Image.open(srcImgPath).verify()
|
# Image.open(srcImgPath).verify()
|
||||||
with Image.open(srcImgPath) as im:
|
with Image.open(srcImgPath) as im:
|
||||||
self.image = im.copy()
|
self.image = im.copy()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user