From ef8b5c29acb6f80864dbd1b91090936138d4090f Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Tue, 3 Mar 2020 15:42:56 -0800 Subject: [PATCH] reduce number of spaces to save a little space (and I assume parsing time).. --- fakedata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fakedata.py b/fakedata.py index 7cf9bb3..c4596e4 100644 --- a/fakedata.py +++ b/fakedata.py @@ -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))