Drop LEGACY_WORKER so route_from reads only JSON worker lines #424

Merged
lilleman merged 6 commits from item-218 into main 2026-11-08 19:11:32 +01:00
Showing only changes of commit 7823c4374c - Show all commits
-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