summaryrefslogtreecommitdiffstats
path: root/web/api.py
diff options
context:
space:
mode:
authorraylu <raylu@gridium.com>2013-10-20 04:47:01 -0700
committerraylu <raylu@gridium.com>2013-10-20 04:47:01 -0700
commit4cd3be430d0cde09093822ae749c95903fe8c719 (patch)
tree590e734986b976c00855247d702b52000f1c8365 /web/api.py
parentb5e9beaa31e9d2a7f54909a1467eda7171ed3229 (diff)
downloadykill-4cd3be430d0cde09093822ae749c95903fe8c719.tar.xz
show more character and item data on kills
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()