Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

template_parser: Fix f-string not formatted.

PieterCK1400ad7307bf
diff --git a/tools/lib/template_parser.py b/tools/lib/template_parser.py
index a821b7cf6ed..b07ee141338 100644
--- a/tools/lib/template_parser.py
+++ b/tools/lib/template_parser.py
@@ -497,7 +497,7 @@ def validate(
if state.html_context == "unknown"
else ""
)
- + " at {fn} line {token.line}, col {token.col}"
+ + f" at {fn} line {token.line}, col {token.col}"
)
if new_context not in FOREIGN_CONTEXTS: