Skip to content

Commit 56e2acd

Browse files
authored
Update utils.py (#25)
1 parent e82fd8c commit 56e2acd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffupy/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def from_json(path: str):
202202
def to_json(data, path: str):
203203
"""Save json file."""
204204
with open(path, 'w') as f:
205-
json.dump(data, f)
205+
json.dump(data, f, indent=2)
206206

207207

208208
def from_pickle(input_path):

0 commit comments

Comments
 (0)