From f3567827f2bb24ed8505a2725e8e7608396feeed Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Tue, 22 Sep 2015 12:18:26 +0200 Subject: Oops, overzealous copy/paste --- server/prolog_session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server') 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'}}] -- cgit v1.2.1