mirror of
https://github.com/satwikkansal/wtfpython
synced 2024-11-21 18:54:20 +01:00
Add indent to the dump for better diff
This commit is contained in:
parent
ad39ef8625
commit
b3387c9dc7
@ -296,7 +296,7 @@ def convert_to_notebook(pre_examples_content, parsed_json, post_examples_content
|
||||
|
||||
#pprint.pprint(result, indent=2)
|
||||
with open(notebook_path, "w") as f:
|
||||
json.dump(result, f)
|
||||
json.dump(result, f, indent=2)
|
||||
|
||||
|
||||
with open(fpath, 'r+', encoding="utf-8") as f:
|
||||
|
Loading…
Reference in New Issue
Block a user