Skip to content

The agent that grows with you

fix: ensure utf-8 encoding in jobs.json

zcj1122c55f50a5b9e8
diff --git a/cron/jobs.py b/cron/jobs.py
index 39dd998e7ca..7d91ec35ed1 100644
--- a/cron/jobs.py
+++ b/cron/jobs.py
@@ -1294,6 +1294,7 @@ def _save_jobs_unlocked(
{"jobs": jobs, "updated_at": _hermes_now().isoformat()},
f,
indent=2,
+ ensure_ascii=False,
)
f.flush()
os.fsync(f.fileno())
@@ -1362,6 +1363,7 @@ def _save_jobs_unlocked(
{"jobs": jobs, "updated_at": _hermes_now().isoformat()},
f,
indent=2,
+ ensure_ascii=False,
)
f.flush()
os.fsync(f.fileno())