write json files readable

This commit is contained in:
Stefan Harmuth 2021-12-13 05:08:35 +01:00
parent 78e180871e
commit dfe5afb735

View File

@ -39,4 +39,4 @@ class JSONFile(DataFile):
def save(self):
with open(self.filename, "wt") as f:
f.write(json.dumps(self.copy()))
f.write(json.dumps(self.copy(), indent=4))