Skip to content

Commit

Permalink
fix: 日志记录失败 * n
Browse files Browse the repository at this point in the history
  • Loading branch information
helloplhm-qwq committed Mar 3, 2024
1 parent 5e70560 commit 64a1b2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 64a1b2f

Please sign in to comment.