Skip to content

Commit f0680bc

Browse files
committed
github.py: save JSON with nice whitespace
1 parent 3ceee51 commit f0680bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def load(self, filepath):
3737

3838
def save(self, filepath):
3939
with open(filepath, 'w') as f:
40-
return json.dump(self._json, f)
40+
return json.dump(self._json, f, sort_keys=True, indent=4)
4141

4242
def download(self, query):
4343
"""

0 commit comments

Comments
 (0)