Skip to content

Commit

Permalink
Use most compact JSON representation
Browse files Browse the repository at this point in the history
  • Loading branch information
sfan5 committed Jun 25, 2018
1 parent 0a3d05b commit 57fb13c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server.py
Expand Up @@ -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)

Expand Down

0 comments on commit 57fb13c

Please sign in to comment.