Skip to content

Commit 0555894

Browse files
authored
Merge pull request #95 from hurlenko/jconfig_fix
Add pretty-print indentation level
2 parents b2660ed + 4970cab commit 0555894

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jconfig/jconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ def load(self, filename, **kwargs):
3434

3535
def save(self):
3636
with open(self._filename, 'w') as f:
37-
json.dump(self._settings, f)
37+
json.dump(self._settings, f, indent=2, sort_keys=True)

0 commit comments

Comments
 (0)