mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2025-06-28 21:15:11 +00:00
Create initial implementation for solution check
This commit is contained in:
@ -20,8 +20,8 @@ def zmq_callback(stream, msg_parts):
|
||||
stream.send_multipart(serialize_all(key, 'OK'))
|
||||
if key == 'solution_check':
|
||||
stream.send_multipart(serialize_all(key, {
|
||||
'solved': True,
|
||||
'message': 'solved'
|
||||
'solved': fsm.is_solved(),
|
||||
'message': 'solved' if fsm.is_solved() else 'not solved'
|
||||
}))
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user