From 453f11084b0706901f44b68c17a5dd39baa02859 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Thu, 29 Sep 2022 22:39:26 +0200 Subject: [PATCH] ext --- app/but/jury_but.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/but/jury_but.py b/app/but/jury_but.py index 9997a736..913297cc 100644 --- a/app/but/jury_but.py +++ b/app/but/jury_but.py @@ -364,9 +364,8 @@ class DecisionsProposeesAnnee(DecisionsProposees): ) # Si l'un des semestres est extérieur, propose ADM if ( - self.formsemestre_impair.modalite == "EXT" - or self.formsemestre_pair.modalite == "EXT" - ): + self.formsemestre_impair and self.formsemestre_impair.modalite == "EXT" + ) or (self.formsemestre_pair and self.formsemestre_pair.modalite == "EXT"): self.codes.insert(0, sco_codes.ADM) #