From 6c55726134b2531e10e73f320d17a80234c1b308 Mon Sep 17 00:00:00 2001 From: Felix Sun Date: Tue, 9 Jul 2013 14:34:21 -0400 Subject: [PATCH] Fixed naming error in crowdsource_hinter. (Introduced in git merge.) --- common/lib/xmodule/xmodule/crowdsource_hinter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/lib/xmodule/xmodule/crowdsource_hinter.py b/common/lib/xmodule/xmodule/crowdsource_hinter.py index 5a1b25f8e5..7c7f94a26b 100644 --- a/common/lib/xmodule/xmodule/crowdsource_hinter.py +++ b/common/lib/xmodule/xmodule/crowdsource_hinter.py @@ -141,10 +141,10 @@ class CrowdsourceHinterModule(CrowdsourceHinterFields, XModule): - 'answer' is the parsed answer that was submitted. """ try: - answer = self.capa_answer_to_str(get) + answer = self.capa_answer_to_str(data) except ValueError: # Sometimes, we get an answer that's just not parsable. Do nothing. - log.exception('Answer not parsable: ' + str(get)) + log.exception('Answer not parsable: ' + str(data)) return # Look for a hint to give. # Make a local copy of self.hints - this means we only need to do one json unpacking.