From 729f0eb2032b15e9d5f8f73ac49537474b59fef6 Mon Sep 17 00:00:00 2001 From: Diana Huang Date: Wed, 4 Jun 2014 15:17:40 -0400 Subject: [PATCH] Fix variable name. --- lms/djangoapps/instructor/views/legacy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/instructor/views/legacy.py b/lms/djangoapps/instructor/views/legacy.py index b8865418dc..ba5f522f48 100644 --- a/lms/djangoapps/instructor/views/legacy.py +++ b/lms/djangoapps/instructor/views/legacy.py @@ -351,7 +351,7 @@ def instructor_dashboard(request, course_id): msg += message elif "Show Background Task History" in action: - problem_location = strip_if_string(request.POST.get('problem_for_all_students', '')) + problem_location_str = strip_if_string(request.POST.get('problem_for_all_students', '')) try: problem_location = course_key.make_usage_key_from_deprecated_string(problem_location_str) except InvalidKeyError: