summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.org>2015-09-22 12:18:26 +0200
committerTimotej Lazar <timotej.lazar@araneo.org>2015-09-22 12:18:45 +0200
commitf3567827f2bb24ed8505a2725e8e7608396feeed (patch)
treef78b673cfb8e45cf2c0dffce6f71be0bca3031b1
parent0cc91946829c64e894034bdc5cabdd80f983d5be (diff)
Oops, overzealous copy/paste
-rw-r--r--server/prolog_session.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/prolog_session.py b/server/prolog_session.py
index ccfb91c..ebd53fb 100644
--- a/server/prolog_session.py
+++ b/server/prolog_session.py
@@ -118,7 +118,7 @@ class PrologSession(object):
solved_problems = [p for p in CodeqUser.solved_problems(session.get_uid(), language)
if p != (problem_group, problem)]
try:
- passed, hints = problem_module.test(self.run, program)
+ passed, hints = problem_module.test(program, solved_problems)
except AttributeError as ex:
hints = [{'id': 'system_error', 'args': {'message': 'test function does not exist'}}]