1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Remove an extra apostrophe.

This commit is contained in:
Alexandre Beloin 2015-01-25 16:14:20 -05:00
parent 91cb8d885c
commit bb267905aa

View File

@ -130,7 +130,7 @@ class ApiHandler(RequestHandler):
except:pass except:pass
def _out_as_json(self, dict): def _out_as_json(self, dict):
self.set_header("Content-Type", "application/json;charset=UTF-8'") self.set_header("Content-Type", "application/json;charset=UTF-8")
try: try:
out = json.dumps(dict, indent=self.intent, ensure_ascii=False, sort_keys=True) out = json.dumps(dict, indent=self.intent, ensure_ascii=False, sort_keys=True)
callback = self.get_query_argument('callback', None) or self.get_query_argument('jsonp', None) callback = self.get_query_argument('callback', None) or self.get_query_argument('jsonp', None)