matrix-bot: Working timer

matrix-bot: Working timer 2

matrix-bot: nix fmt
This commit is contained in:
Qubasa
2024-07-02 19:25:15 +02:00
parent f6e77f3c1b
commit 53c4195932
6 changed files with 129 additions and 56 deletions

View File

@@ -27,5 +27,5 @@ def read_locked_file(path: Path) -> dict[str, Any]:
return {}
with locked_open(path, "r") as f:
content: str = f.read()
parsed: list[dict] = json.loads(content)
parsed: dict[str, Any] = json.loads(content)
return parsed