Skip to content
Snippets Groups Projects
Commit f2d4d49d authored by Martin's avatar Martin
Browse files

fix linting

parent e86b736b
No related branches found
No related tags found
No related merge requests found
Pipeline #74334 passed
......@@ -314,7 +314,9 @@ class HTRDataGenerator:
if "\n" in text.strip():
elem_id = res["element"]["id"]
raise ValueError(f"Newlines are not allowed in line transcriptions - {page_id} - {elem_id} - {text}")
raise ValueError(
f"Newlines are not allowed in line transcriptions - {page_id} - {elem_id} - {text}"
)
if "zone" in res:
polygon = res["zone"]["polygon"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment