From ea7005356c41a20ea840a15ed97e81c9c54c66a7 Mon Sep 17 00:00:00 2001 From: caiwx86 Date: Fri, 31 Mar 2023 19:58:56 +0800 Subject: [PATCH] fix --- utils/HtmlUtils.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/utils/HtmlUtils.py b/utils/HtmlUtils.py index 803f48e..bea72db 100644 --- a/utils/HtmlUtils.py +++ b/utils/HtmlUtils.py @@ -25,9 +25,7 @@ class htmlUtils: return file_path if os.path.exists(file_path): if type == "read": - print(f"读取cache: {file_path}") - with open(file_path,"r",encoding="utf-8") as fs: - return fs.read() + with open(file_path,"r",encoding="utf-8") as fs: return fs.read() return file_path else: return None