mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-06 14:21:22 +00:00
12 lines
354 B
Python
12 lines
354 B
Python
from tornado.web import RequestHandler
|
|
|
|
|
|
class SolutionCheckHandler(RequestHandler):
|
|
def initialize(self, solvable_connector):
|
|
self.solvable_connector = solvable_connector
|
|
|
|
def get(self):
|
|
self.solvable_connector.send('solution_check', {})
|
|
resp_key, resp_data = self.solvable_connector.recv()
|
|
self.write(resp_data)
|