This commit is contained in:
caiwx86 2022-12-21 01:01:43 +08:00
parent 65c1c69588
commit df804b0ed8

View File

@ -125,7 +125,7 @@ class comicEntity:
shutil.rmtree(remove_path)
print(f"文件已删除: {remove_path}")
except:
dirComicChapter = str(comicInfo.getDirComicChapter)
dirComicChapter = str(comicInfo.getDirComicChapter())
if dirComicChapter != None and os.path.exists(dirComicChapter):
shutil.rmtree(dirComicChapter)
cls.comicChapter(chapter_url,scramble,sleep)