Commit 998165d7 authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

BUG: produce prettier JSON

parent 4147343d
......@@ -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)
def load_pickle(cls, filename):
Supports Markdown
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