From 7f68610dac877032a1ca9a9f05fe2a13eeef66b1 Mon Sep 17 00:00:00 2001 From: Piotr Mitros Date: Wed, 29 Feb 2012 14:22:33 -0500 Subject: [PATCH] Error in case sensitivity. Applying patch from gjs' machine --- courseware/capa/responsetypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/courseware/capa/responsetypes.py b/courseware/capa/responsetypes.py index 8809d935b1..a2db7ad47c 100644 --- a/courseware/capa/responsetypes.py +++ b/courseware/capa/responsetypes.py @@ -127,7 +127,7 @@ class formularesponse(object): value = random.uniform(*ranges[var]) instructor_variables[str(var)] = value student_variables[str(var)] = value - instructor_result = evaluator(instructor_variables,dict(),self.correct_answer) + instructor_result = evaluator(instructor_variables,dict(),self.correct_answer, cs = self.case_sensitive) try: #print student_variables,dict(),student_answers[self.answer_id] student_result = evaluator(student_variables,dict(),