We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 246e133 commit 54bb8e1Copy full SHA for 54bb8e1
server/services/tasker.py
@@ -285,7 +285,7 @@ async def _persist_state(self) -> None:
285
tasks = [task.to_dict() for task in self._tasks.values()]
286
payload = {"tasks": tasks, "updated_at": _utc_timestamp()}
287
288
- async def _write() -> None:
+ def _write() -> None:
289
self._storage_path.parent.mkdir(parents=True, exist_ok=True)
290
tmp_path = self._storage_path.with_suffix(".tmp")
291
with open(tmp_path, "w", encoding="utf-8") as fh:
0 commit comments