feat(canvas): remove sortable_name deps
This commit is contained in:
parent
5b7a102115
commit
179c1e0649
|
@ -40,7 +40,7 @@ class Canvas:
|
||||||
patch_student(student)
|
patch_student(student)
|
||||||
for student in self.course.get_users(enrollment_type=types)
|
for student in self.course.get_users(enrollment_type=types)
|
||||||
]
|
]
|
||||||
for attr in ["login_id", "sortable_name", "name"]:
|
for attr in ["login_id", "name"]:
|
||||||
if not hasattr(self.students[0], attr):
|
if not hasattr(self.students[0], attr):
|
||||||
raise Exception(
|
raise Exception(
|
||||||
f"Unable to gather students' {attr}, please contact the Canvas site admin"
|
f"Unable to gather students' {attr}, please contact the Canvas site admin"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user