From bd4595fad22784ece1dc30f902c1452645025351 Mon Sep 17 00:00:00 2001 From: Don Mitchell Date: Fri, 9 May 2014 11:19:54 -0400 Subject: [PATCH] Fix missing field access --- lms/djangoapps/instructor/views/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/instructor/views/tools.py b/lms/djangoapps/instructor/views/tools.py index a29ca61373..769595784a 100644 --- a/lms/djangoapps/instructor/views/tools.py +++ b/lms/djangoapps/instructor/views/tools.py @@ -209,7 +209,7 @@ def dump_student_extensions(course, student): for module in query: state = json.loads(module.state) # temporary hack: module_state_key is missing the run but units are not. fix module_state_key - module_loc = module.map_into_course(module.course_id) + module_loc = module.module_state_key.map_into_course(module.course_id) if module_loc not in units: continue extended_due = state.get("extended_due")