From e4c8637c4105b6bffd306ab2d2144226326ce5fe Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Fri, 2 Feb 2024 15:26:59 +0100 Subject: [PATCH] Fix: TypeError in __init__ /opt/scodoc/app/but/jury_but.py --- app/but/jury_but.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/but/jury_but.py b/app/but/jury_but.py index 148d6d658..3f8fa9a7a 100644 --- a/app/but/jury_but.py +++ b/app/but/jury_but.py @@ -417,7 +417,7 @@ class DecisionsProposeesAnnee(DecisionsProposees): + '
'.join(messages) + "
" ) - self.codes = [self.codes[0]] + sorted(self.codes[1:]) + self.codes = [self.codes[0]] + sorted((c or "") for c in self.codes[1:]) def passage_de_droit_en_but3(self) -> tuple[bool, str]: """Vérifie si les conditions supplémentaires de passage BUT2 vers BUT3 sont satisfaites"""