diff --git a/src/controller/handlers/solution_check_handler.py b/src/controller/handlers/solution_check_handler.py index 85bfe7c..b45d7fd 100644 --- a/src/controller/handlers/solution_check_handler.py +++ b/src/controller/handlers/solution_check_handler.py @@ -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) diff --git a/src/controller/handlers/test_handler.py b/src/controller/handlers/test_handler.py index 0514e08..bc4d690 100644 --- a/src/controller/handlers/test_handler.py +++ b/src/controller/handlers/test_handler.py @@ -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)