From 64a1b2ffac088075e248cbc727ae94f8a3bce2b9 Mon Sep 17 00:00:00 2001 From: helloplhm-qwq Date: Sun, 3 Mar 2024 17:11:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=97=A5=E5=BF=97=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=20*=20n?= 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 abc0d8e..a5dd624 100644 --- a/common/log.py +++ b/common/log.py @@ -116,7 +116,7 @@ def highlight_error(e): code = read_code(p, l) cc = [] viewed = False - for i in len(code['result']): + for i in range(len(code['result'])): c = code["result"][i] if (c.startswith(code['current']) and (i <= 3)): viewed = True