summaryrefslogtreecommitdiff
path: root/server/handlers.py
diff options
context:
space:
mode:
Diffstat (limited to 'server/handlers.py')
-rw-r--r--server/handlers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/handlers.py b/server/handlers.py
index 42f53b4..619e2c2 100644
--- a/server/handlers.py
+++ b/server/handlers.py
@@ -127,7 +127,7 @@ class Activity(CodeqService):
if problem_id is None:
request.reply({'code': 1, 'message': 'Problem ID is missing'})
else:
- request.session.update_solution(problem_id, trace, solution)
+ request.session.update_solution(problem_id, trace=trace, solution=solution)
request.end() # no feedback, just acknowledge the reception
@@ -169,7 +169,7 @@ class Query(CodeqService):
else:
result = {'code': 5, 'message': 'Unknown prolog step: {0}'.format(step)}
if program or trace:
- session.update_solution(problem_id, trace, program)
+ session.update_solution(problem_id, trace=trace, solution=program)
request.reply(result)