Use most compact JSON representation

This commit is contained in:
sfan5 2018-06-25 13:19:49 +02:00
parent 0a3d05baf5
commit 57fb13cbb8

View File

@ -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)