minor fix for key error

This commit is contained in:
Manas Solanki 2018-03-07 16:28:21 +05:30
parent ba6003ece7
commit 586e9400b1

View File

@ -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]