From bf2cd1dd3695c98ba996b5483354c92c4deb146f Mon Sep 17 00:00:00 2001 From: helloplhm-qwq Date: Sun, 3 Mar 2024 16:50:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=AF=AD=E6=B3=95=E9=94=99=E8=AF=AF?= 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 7261f1a..abc0d8e 100644 --- a/common/log.py +++ b/common/log.py @@ -110,7 +110,7 @@ def highlight_error(e): if (p.startswith('<') or not os.path.isfile(p)): final.append(i) - final.append(" " if (lines[lines.index(l) + 1].startswith("File") else (" " + lines[lines.index(l) + 1])) + final.append(" " if (lines[lines.index(l) + 1].startswith("File")) else (" " + lines[lines.index(l) + 1])) continue code = read_code(p, l)