From 0fe89b0501799fa10627e3faffe2a425eedf5b4a Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Thu, 30 Jun 2022 08:59:19 +0200 Subject: [PATCH] Fix: fiche etud BUT --- app/but/jury_but_view.py | 10 +++++----- sco_version.py | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/but/jury_but_view.py b/app/but/jury_but_view.py index 35e0ddaaa..fa5171200 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 47dd2623e..7f7b62774 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"