From 82a2e8cffe34e3235d8214379dbafa6d5ec69714 Mon Sep 17 00:00:00 2001 From: caiwx86 Date: Mon, 16 Jan 2023 03:50:27 +0800 Subject: [PATCH] fix --- utils/FileUtils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/FileUtils.py b/utils/FileUtils.py index 690152a..af04da2 100644 --- a/utils/FileUtils.py +++ b/utils/FileUtils.py @@ -211,5 +211,7 @@ class fileUtils: except: if os.path.exists(file_path): os.remove(file_path) - print(f"{file_path}已损坏 type:{type},删除重试中") + print(f"{file_path}已损坏 type:{type},删除重试中") + else: + print(f"文件已损坏 type:{type},删除重试中") return False \ No newline at end of file