Skip to content

Commit

Permalink
Update api.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DruidKuma committed Oct 3, 2014
1 parent 1970de5 commit 6133c8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lms/djangoapps/instructor/views/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1504,7 +1504,7 @@ def spoc_gradebook(request, course_id):
'grade_summary': student_grades(student, request, course),
'realname': student.profile.name,
}
for student in enrolled_students if student != None
for student in enrolled_students if student.profile != None
]

return render_to_response('courseware/gradebook.html', {
Expand Down

0 comments on commit 6133c8c

Please sign in to comment.