From 3ae2d89367120b8c72bb5d5b1d37ccaec9f3b598 Mon Sep 17 00:00:00 2001 From: caiwx86 Date: Mon, 9 Jan 2023 21:35:06 +0800 Subject: [PATCH] fix --- utils/entity/RouMan.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/entity/RouMan.py b/utils/entity/RouMan.py index 9304636..1f2234c 100644 --- a/utils/entity/RouMan.py +++ b/utils/entity/RouMan.py @@ -125,7 +125,8 @@ class comicEntity: shutil.rmtree(remove_path) print(f"文件已删除: {remove_path}") except Exception as e: - print(e.__traceback__.tb_lineno,e) + print(e) + time.sleep(5) ntfy.sendMsg(f"{comicInfo.getComicName()} 下载出错了") is_next = False ntfy.sendMsg(f"预计总章节大小:{cls.count_chapter + 1} / "+ str(comicInfo.getLenChapters()))