fix (Accountability): Fix typo in .

This commit is contained in:
2021-09-19 13:05:30 +03:00
parent 6617139531
commit 47a1972900

View File

@@ -170,7 +170,7 @@ class TimeSlot:
"Attended": [],
"Missing": []
}
for memid, mem in sorted(self.members.items(), key=lambda memid, mem: mem.data.duration, reverse=True):
for memid, mem in sorted(self.members.items(), key=lambda mem: mem[1].data.duration, reverse=True):
mention = '<@{}>'.format(memid)
if mem.has_attended:
classifications["Attended"].append(