From 179c1e0649a731a3e54671cba59ce222e81025d4 Mon Sep 17 00:00:00 2001 From: BoYanZh Date: Wed, 19 Feb 2025 22:33:44 -0500 Subject: [PATCH] feat(canvas): remove sortable_name deps --- joint_teapot/workers/canvas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"