Commit bd4595fa by Don Mitchell

Fix missing field access

parent 660f9050
...@@ -209,7 +209,7 @@ def dump_student_extensions(course, student): ...@@ -209,7 +209,7 @@ def dump_student_extensions(course, student):
for module in query: for module in query:
state = json.loads(module.state) state = json.loads(module.state)
# temporary hack: module_state_key is missing the run but units are not. fix module_state_key # 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: if module_loc not in units:
continue continue
extended_due = state.get("extended_due") extended_due = state.get("extended_due")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment