diff --git a/app/but/jury_but_view.py b/app/but/jury_but_view.py index 35e0ddaaa6..fa51712002 100644 --- a/app/but/jury_but_view.py +++ b/app/but/jury_but_view.py @@ -162,12 +162,12 @@ def infos_fiche_etud_html(etudid: int) -> str: # temporaire quick & dirty: affiche le dernier try: deca = DecisionsProposeesAnnee(etud, formsemestres_but[-1]) + if len(deca.rcues_annee) > 0: + return f"""
+ {show_etud(deca, read_only=True)} +
+ """ except ScoValueError: pass - if len(deca.rcues_annee) > 0: - return f"""
- {show_etud(deca, read_only=True)} -
- """ return "" diff --git a/sco_version.py b/sco_version.py index 47dd2623ef..7f7b62774b 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.3.8" +SCOVERSION = "9.3.9" SCONAME = "ScoDoc"