From 54bb8e1e4ff36e01569967ebd0ce69f1ceee5d1a Mon Sep 17 00:00:00 2001 From: Wenjie Zhang Date: Sun, 12 Oct 2025 02:09:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B0=86=E5=BC=82=E6=AD=A5=E5=86=99?= =?UTF-8?q?=E5=85=A5=E5=87=BD=E6=95=B0=E6=94=B9=E4=B8=BA=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=EF=BC=8C=E4=BB=A5=E7=A1=AE=E4=BF=9D=E6=96=87=E4=BB=B6=E5=86=99?= =?UTF-8?q?=E5=85=A5=E7=9A=84=E7=A8=B3=E5=AE=9A=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/services/tasker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/services/tasker.py b/server/services/tasker.py index ffe8a0aa..7994ea77 100644 --- a/server/services/tasker.py +++ b/server/services/tasker.py @@ -285,7 +285,7 @@ class Tasker: tasks = [task.to_dict() for task in self._tasks.values()] payload = {"tasks": tasks, "updated_at": _utc_timestamp()} - async def _write() -> None: + def _write() -> None: self._storage_path.parent.mkdir(parents=True, exist_ok=True) tmp_path = self._storage_path.with_suffix(".tmp") with open(tmp_path, "w", encoding="utf-8") as fh: