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