Skip to content

Commit 4ab0489

Browse files
committed
pretty print blitz results
1 parent a822429 commit 4ab0489

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rngTrack.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,7 @@ def saveOblitzHistory(rngVals):
11101110
writing = dict(rngVals)
11111111
filepath = "oblitzRNG\\results.json"
11121112
with open(filepath, 'w') as fp:
1113-
json.dump(writing, fp)
1113+
json.dump(writing, fp, indent=4)
11141114

11151115

11161116
def recordBlitzResults_Tyton(duration, testMode=False):
@@ -1171,7 +1171,7 @@ def recordBlitzResults(duration, testMode=False):
11711171
print(records)
11721172

11731173
with open(filepath, 'w') as fp:
1174-
json.dump(records, fp)
1174+
json.dump(records, fp, indent=4)
11751175

11761176

11771177
def hitsToSeed(hitsArray: int):

0 commit comments

Comments
 (0)