summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorromina xj ix k <romina@sunshinegardens.org>2022-02-25 22:01:38 -0700
committerromina xj ix k <romina@sunshinegardens.org>2022-02-25 22:01:38 -0700
commit44c7b1d0c86d62173cf7bba0063c909eb0438560 (patch)
tree0780151281693e642205dc431634bc5d57e9ee98
parent745a839183e25d2ff27825b51332153f15d57f88 (diff)
pretty-print jsonHEADmain
-rw-r--r--main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.py b/main.py
index 1426467..29a9873 100644
--- a/main.py
+++ b/main.py
@@ -36,6 +36,7 @@ def dump(filename, array_of_objects):
with open(filename, 'w') as output_file:
output_file.seek(0)
json.dump(list(map_info.values()),
+ indent=2,
output_file,
cls=DateTimeEncoder)