fix: 语法错误

This commit is contained in:
helloplhm-qwq 2024-03-03 16:50:12 +08:00
parent 0c5e405c31
commit bf2cd1dd36
No known key found for this signature in database
GPG Key ID: B7542212855B2C26

View File

@ -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)