fix
This commit is contained in:
parent
db6761aa32
commit
26e3a8f19a
@ -145,13 +145,12 @@ class comicEntity:
|
||||
is_next = cls.comicChapterDownload(chapter_url)
|
||||
comicInfo.nextInfoToImgChapter()
|
||||
#下载完成后, 开始解密图片
|
||||
if scramble:
|
||||
#获取章节图片路径
|
||||
chapter_dir = comicInfo.getDirComicChapter()
|
||||
if scramble and os.path.exists(chapter_dir):
|
||||
#获取章节图片路径
|
||||
dirs = os.listdir(chapter_dir)
|
||||
for img in dirs:
|
||||
isScramble = str(img).startswith("scramble=")
|
||||
if isScramble:
|
||||
if img.startswith("scramble="):
|
||||
c_path = os.path.join(chapter_dir, img)
|
||||
#imageUtils.getScrambleImage(c_path)
|
||||
imageUtils.encode_scramble_image(c_path)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user