Prettify files.json
This commit is contained in:
parent
aeec6005f6
commit
862a9c1683
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue