Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Use most compact JSON representation
- Loading branch information
Showing
with
2 additions
and
1 deletion.
-
+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) |
|
|
|
|
|