From 8369d6b0e7db5651010aff92ec8020ad7cad2a95 Mon Sep 17 00:00:00 2001 From: Ivo De Decker Date: Thu, 16 Jan 2020 15:50:00 +0000 Subject: [PATCH] sort excuses based on uvname --- britney2/excuse.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/britney2/excuse.py b/britney2/excuse.py index 87ccd69..cbe1c6a 100644 --- a/britney2/excuse.py +++ b/britney2/excuse.py @@ -188,8 +188,8 @@ class Excuse(object): def sortkey(self): if self.daysold is None: - return (-1, self.name) - return (self.daysold, self.name) + return (-1, self.uvname) + return (self.daysold, self.uvname) @property def name(self):