summaryrefslogtreecommitdiffstats
path: root/web/api.py
diff options
context:
space:
mode:
Diffstat (limited to 'web/api.py')
-rw-r--r--web/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/api.py b/web/api.py
index 4993393..87d262e 100644
--- a/web/api.py
+++ b/web/api.py
@@ -22,7 +22,7 @@ class APIHandler(tornado.web.RequestHandler):
def respond_json(self, data):
self.set_header('Content-Type', 'application/json; charset=UTF-8')
- for chunk in JSONDateEncoder().iterencode(data):
+ for chunk in JSONDateEncoder(indent='\t').iterencode(data):
self.write(chunk)
self.finish()