Commit 7ca34c86 authored by Nicolas Vuaille's avatar Nicolas Vuaille

write human-friendly json

parent fc1881ae
......@@ -77,7 +77,7 @@ class FileStore(store.Store):
if not os.path.exists(dirname):
os.makedirs(dirname)
with open(self.__dbfilename, mode="wb") as file:
json.dump(info_json, file)
json.dump(info_json, file, sort_keys=True, indent=4)
@property
def filename_pattern(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment