mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-12-23 02:11:55 +00:00
Fix handlers' responses
This commit is contained in:
parent
f3d53c2b5b
commit
1c3e946e29
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user