From 39fa65c2b633cef25aa74d8503d6f9b20219beb8 Mon Sep 17 00:00:00 2001 From: sukimon_qwq Date: Fri, 4 Oct 2024 12:42:21 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=A7=BB=E9=99=A4print?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/log.py b/common/log.py index d3df4ed..f37ac20 100644 --- a/common/log.py +++ b/common/log.py @@ -62,7 +62,7 @@ def read_code(file_path, target_line_number): 'current': lines[target_line_number - 1], 'result': lines[start:end] } - print(lineMap) + # print(lineMap) return lineMap except FileNotFoundError: sys.stderr.write("日志模块出错,本次日志可能无法记录,请报告给开发者: 处理错误语法高亮时找不到源文件")