From 6617139531cd490e8bad105f62496ad497644fd1 Mon Sep 17 00:00:00 2001 From: Conatum Date: Sun, 19 Sep 2021 13:03:03 +0300 Subject: [PATCH] fix (Accountability): Typo in `TimeSlot`. --- bot/modules/accountability/TimeSlot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/modules/accountability/TimeSlot.py b/bot/modules/accountability/TimeSlot.py index dd6442b4..14fd013d 100644 --- a/bot/modules/accountability/TimeSlot.py +++ b/bot/modules/accountability/TimeSlot.py @@ -170,7 +170,7 @@ class TimeSlot: "Attended": [], "Missing": [] } - for memid, mem in sorted(self.members.items(), key=lambda mem: mem.data.duration, reverse=True): + for memid, mem in sorted(self.members.items(), key=lambda memid, mem: mem.data.duration, reverse=True): mention = '<@{}>'.format(memid) if mem.has_attended: classifications["Attended"].append(