From 57fb13cbb88607ad4881695f2e09bf9f48522a1f Mon Sep 17 00:00:00 2001 From: sfan5 Date: Mon, 25 Jun 2018 13:19:49 +0200 Subject: [PATCH] Use most compact JSON representation --- server.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server.py b/server.py index 57f2f8a..94bc80a 100755 --- a/server.py +++ b/server.py @@ -400,7 +400,8 @@ class ServerList: "list": self.list }, fd, - indent = "\t" if app.config["DEBUG"] else None + indent = "\t" if app.config["DEBUG"] else None, + separators = (', ', ': ') if app.config["DEBUG"] else (',', ':') ) os.replace(list_path + "~", list_path)