Browse Source

reduce number of spaces to save a little space (and I assume parsing time)..

main
John-Mark Gurney 4 years ago
parent
commit
ef8b5c29ac
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      fakedata.py

+ 1
- 1
fakedata.py View File

@@ -161,4 +161,4 @@ for i in { 'prodpoints', 'prodindex', 'conspoints', 'consindex',}:
v = [ (x, int(y)) for x, y in v ]
locals()[i] = v

print('fakedata =', json.dumps(dict(production=prodpoints, prodindex=prodindex, consumption=conspoints, consindex=consindex), default=serializearrowasmili, indent=2))
print('fakedata =', json.dumps(dict(production=prodpoints, prodindex=prodindex, consumption=conspoints, consindex=consindex), default=serializearrowasmili, indent=1))

Loading…
Cancel
Save