From 1cd05fd2cda37539a7c856125365889d6f705ec1 Mon Sep 17 00:00:00 2001 From: Benjamin Bannier Date: Fri, 1 Sep 2023 09:28:10 +0200 Subject: [PATCH] Fix mutilated f-strings --- zeekscript/script.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zeekscript/script.py b/zeekscript/script.py index ffe0ea8..51d2c28 100644 --- a/zeekscript/script.py +++ b/zeekscript/script.py @@ -117,14 +117,14 @@ def get_error(self): elif node.is_missing: msg = ( f'missing grammar node "{node.type}" on ' - "line {node.start_point[0]}, col {node.start_point[1]}" + f"line {node.start_point[0]}, col {node.start_point[1]}" ) elif node.has_error and ( not node.children or not any(kid.has_error for kid in node.children) ): msg = ( f'grammar node "{node.type}" has error on ' - "line {node.start_point[0]}, col {node.start_point[1]}" + f"line {node.start_point[0]}, col {node.start_point[1]}" ) else: continue