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
commit bb42e3b411
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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]