Drop the blank line at the end of route.py

This commit is contained in:
2026-11-08 19:04:41 +01:00
parent c424fa66ae
commit 7823c4374c
-1
View File
@@ -96,4 +96,3 @@ def json_fields(line: str) -> dict[str, typing.Any] | None:
return None
# type(), not isinstance(): JSON true is no integer.
return fields if all(type(fields.get(name, 0)) is int and fields.get(name, 0) >= 0 for name in WORKER_LINE_FIELDS) else None