From 862a9c16832cd6da9ffd586494a77bcf6a47a939 Mon Sep 17 00:00:00 2001 From: Joscha Date: Tue, 4 Nov 2025 03:33:31 +0100 Subject: [PATCH] Prettify files.json --- pasch/modules/files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pasch/modules/files.py b/pasch/modules/files.py index d806878..95b0dd0 100644 --- a/pasch/modules/files.py +++ b/pasch/modules/files.py @@ -78,7 +78,7 @@ class FileDb: return data def _save(self, data: dict[str, str]) -> None: - atomic_write(self._path, json.dumps(data).encode("utf-8")) + atomic_write(self._path, json.dumps(data, indent=2).encode("utf-8")) def add_hash(self, path: Path, hash: str) -> None: data = self._load()