diff options
Diffstat (limited to 'server/robot_session.py')
-rw-r--r-- | server/robot_session.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/robot_session.py b/server/robot_session.py index 410016b..649159a 100644 --- a/server/robot_session.py +++ b/server/robot_session.py @@ -64,7 +64,7 @@ class RobotSession(server.LanguageSession): passed, hints = problem_module.test(program) if passed: session = server.user_session.get_session_by_id(sid) - session.update_solution(problem_id, done=True) + session.update_solution(problem_id, solution=program, done=True) except AttributeError as ex: hints = [{'id': 'system_error', 'args': {'message': 'test function does not exist'}}] |