Fix handlers' responses

This commit is contained in:
Bálint Bokros 2018-02-09 14:04:47 +01:00
parent f3d53c2b5b
commit 1c3e946e29
2 changed files with 2 additions and 2 deletions

View File

@ -8,4 +8,4 @@ class SolutionCheckHandler(RequestHandler):
def get(self):
self.solvable_connector.send('solution_check', {})
resp_key, resp_data = self.solvable_connector.recv()
return resp_data
self.write(resp_data)

View File

@ -8,4 +8,4 @@ class TestHandler(RequestHandler):
def get(self):
self.solvable_connector.send('test', {})
resp_key, resp_data = self.solvable_connector.recv()
return resp_data
self.write(resp_data)