forked from ScoDoc/ScoDoc
Fix: TypeError in __init__ /opt/scodoc/app/but/jury_but.py
This commit is contained in:
parent
952132695f
commit
e4c8637c41
@ -417,7 +417,7 @@ class DecisionsProposeesAnnee(DecisionsProposees):
|
||||
+ '</div><div class="warning">'.join(messages)
|
||||
+ "</div>"
|
||||
)
|
||||
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"""
|
||||
|
Loading…
Reference in New Issue
Block a user