Skip to content
Snippets Groups Projects
Commit 998165d7 authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

BUG: produce prettier JSON

parent 4147343d
No related branches found
No related tags found
No related merge requests found
......@@ -269,7 +269,7 @@ class FileTree(object):
return obj
with open(filename, 'w') as f:
json.dump(self, f, default=default)
json.dump(self, f, default=default, indent=2)
@classmethod
def load_pickle(cls, filename):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment