summaryrefslogtreecommitdiffstats
path: root/web/api.py
diff options
context:
space:
mode:
authorraylu <raylu@gridium.com>2013-10-21 23:13:33 -0700
committerraylu <raylu@gridium.com>2013-10-21 23:13:33 -0700
commite38de9534b3c5d38a77f94c9843ce88856f5a802 (patch)
treee59286cebdeaee0c0954924028670fadf309da71 /web/api.py
parent48d146a1cb0aa0cd90cbcc0236a84754615fe7d6 (diff)
downloadykill-e38de9534b3c5d38a77f94c9843ce88856f5a802.tar.xz
set title on every page
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 0f19d0c..523880b 100644
--- a/web/api.py
+++ b/web/api.py
@@ -31,7 +31,7 @@ class SearchHandler(APIHandler):
class CorporationHandler(APIHandler):
def get(self, corp_id):
- kills = db.queries.corporation(corp_id)
+ kills = db.queries.corporation(int(corp_id))
self.respond_json(kills)
class KillHandler(APIHandler):