This commit is contained in:
cwx
2022-12-20 17:35:04 +08:00
parent 82d3694d7e
commit 57db571e5d
2 changed files with 7 additions and 7 deletions
+4 -4
View File
@@ -86,10 +86,10 @@ class comicEntity:
cls.count_chapter += 1
#一本漫画下载后等待
#清空文件夹
pathDirComic = comicInfo.getDirComic()
if os.path.exists(pathDirComic):
shutil.rmtree(pathDirComic)
if not sleep == None:
path_dir_comic = comicInfo.getDirComic()
if os.path.exists(path_dir_comic):
shutil.rmtree(path_dir_comic)
if sleep != None:
time.sleep(sleep)
'''