Skip to content
Permalink
Browse files

Use most compact JSON representation

  • Loading branch information
sfan5 committed Jun 25, 2018
1 parent 0a3d05b commit 57fb13cbb88607ad4881695f2e09bf9f48522a1f
Showing with 2 additions and 1 deletion.
  1. +2 −1 server.py
@@ -400,7 +400,8 @@ def save(self):
"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)

0 comments on commit 57fb13c

Please sign in to comment.