Skip to content

Commit 57fb13c

Browse files
committed
Use most compact JSON representation
1 parent 0a3d05b commit 57fb13c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,8 @@ def save(self):
400400
"list": self.list
401401
},
402402
fd,
403-
indent = "\t" if app.config["DEBUG"] else None
403+
indent = "\t" if app.config["DEBUG"] else None,
404+
separators = (', ', ': ') if app.config["DEBUG"] else (',', ':')
404405
)
405406
os.replace(list_path + "~", list_path)
406407

0 commit comments

Comments
 (0)