summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 1a76130..c6e5b69 100644
--- a/server/prolog_session.py
+++ b/server/prolog_session.py
@@ -129,7 +129,7 @@ class PrologSession(server.LanguageSession):
hints = language_module.hint(program, solved_problems)
if not hints and hasattr(problem_module, 'hint'):
hints = problem_module.hint(program, solved_problems)
- if not hints:
+ if not hints and problem_id in _edits:
# Testing function for monkey.
def tester(code):
passed, hints = problem_module.test(code, solved_problems)