This commit is contained in:
caiwx86 2022-12-13 06:36:50 +08:00
parent 50b0fc8119
commit 0fb370b057

View File

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