diff --git a/joint_teapot/workers/canvas.py b/joint_teapot/workers/canvas.py index c859322..fa450c0 100644 --- a/joint_teapot/workers/canvas.py +++ b/joint_teapot/workers/canvas.py @@ -40,7 +40,7 @@ class Canvas: patch_student(student) 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): raise Exception( f"Unable to gather students' {attr}, please contact the Canvas site admin"