From 0d11eb16ba715c86737b1d5be087933fb571e184 Mon Sep 17 00:00:00 2001 From: JonahStanley Date: Mon, 3 Jun 2013 11:52:40 -0400 Subject: [PATCH] Fixed typo I accidently had show_answer instead of showanswer. This error was hidden by a previous default of showanswer=always. --- lms/djangoapps/courseware/features/problems.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/courseware/features/problems.py b/lms/djangoapps/courseware/features/problems.py index 7cd9f157cd..763914763a 100644 --- a/lms/djangoapps/courseware/features/problems.py +++ b/lms/djangoapps/courseware/features/problems.py @@ -33,7 +33,7 @@ def view_problem_with_show_answer(step, problem_type, answer): i_am_registered_for_the_course(step, 'model_course') # Ensure that the course has this problem type - add_problem_to_course('model_course', problem_type, {'show_answer': answer}) + add_problem_to_course('model_course', problem_type, {'showanswer': answer}) # Go to the one section in the factory-created course # which should be loaded with the correct problem