diff options
-rw-r--r-- | server/prolog_session.py | 2 |
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'}}] |