Merge pull request #13214 from manassolanki/assessment-report-fix

minor fix for key error in assessment reports
This commit is contained in:
Manas Solanki
2018-03-07 16:30:35 +05:30
committed by GitHub

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]