From 4cd3be430d0cde09093822ae749c95903fe8c719 Mon Sep 17 00:00:00 2001 From: raylu Date: Sun, 20 Oct 2013 04:47:01 -0700 Subject: show more character and item data on kills --- web/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/api.py') 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() -- cgit v1.2.3