From a215b382db62a1ba1ae255a474ce14358eb9b77f Mon Sep 17 00:00:00 2001 From: devRaGonSa <97627393+devRaGonSa@users.noreply.github.com> Date: Fri, 22 May 2026 23:41:05 +0200 Subject: [PATCH] fix: serialize manual rcon capture output --- backend/app/rcon_historical_worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/rcon_historical_worker.py b/backend/app/rcon_historical_worker.py index 00f2f10..d308e7a 100644 --- a/backend/app/rcon_historical_worker.py +++ b/backend/app/rcon_historical_worker.py @@ -528,7 +528,7 @@ def main(argv: Iterable[str] | None = None) -> int: if args.mode == "capture": result = run_rcon_historical_capture(target_key=args.target_key) - print(json.dumps(result, indent=2)) + print(json.dumps(result, indent=2, default=_json_default)) return 0 if args.interval <= 0: