Fix: fiche etud BUT

This commit is contained in:
Emmanuel Viennet 2022-06-30 08:59:19 +02:00
parent a476854fac
commit 0fe89b0501
2 changed files with 6 additions and 6 deletions

View File

@ -162,12 +162,12 @@ def infos_fiche_etud_html(etudid: int) -> str:
# temporaire quick & dirty: affiche le dernier # temporaire quick & dirty: affiche le dernier
try: try:
deca = DecisionsProposeesAnnee(etud, formsemestres_but[-1]) deca = DecisionsProposeesAnnee(etud, formsemestres_but[-1])
if len(deca.rcues_annee) > 0:
return f"""<div class="infos_but">
{show_etud(deca, read_only=True)}
</div>
"""
except ScoValueError: except ScoValueError:
pass pass
if len(deca.rcues_annee) > 0:
return f"""<div class="infos_but">
{show_etud(deca, read_only=True)}
</div>
"""
return "" return ""

View File

@ -1,7 +1,7 @@
# -*- mode: python -*- # -*- mode: python -*-
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
SCOVERSION = "9.3.8" SCOVERSION = "9.3.9"
SCONAME = "ScoDoc" SCONAME = "ScoDoc"