minor fix for key error
This commit is contained in:
parent
ba6003ece7
commit
586e9400b1
@ -27,6 +27,7 @@ def execute(filters=None):
|
|||||||
course_dict = values.get("course_dict")
|
course_dict = values.get("course_dict")
|
||||||
|
|
||||||
for student in args.students:
|
for student in args.students:
|
||||||
|
if student_details.get(student):
|
||||||
student_row = {}
|
student_row = {}
|
||||||
student_row["student"] = student
|
student_row["student"] = student
|
||||||
student_row["student_name"] = student_details[student]
|
student_row["student_name"] = student_details[student]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user