forked from ScoDoc/ScoDoc
Fix: bulletin_but_court (decision_ue, et cas sans ues)
This commit is contained in:
parent
b9679d1c01
commit
92f6886ac1
@ -72,9 +72,11 @@ def bulletin_but(formsemestre_id: int, etudid: int = None, fmt="html"):
|
||||
bul: dict = bulletins_sem.bulletin_etud(etud)
|
||||
decision_ues = (
|
||||
{x["acronyme"]: x for x in bul["semestre"]["decision_ue"]}
|
||||
if "semestre" in bul
|
||||
if "semestre" in bul and "decision_ue" in bul["semestre"]
|
||||
else {}
|
||||
)
|
||||
if not "ues" in bul:
|
||||
raise ScoValueError("Aucune UE à afficher")
|
||||
cursus = cursus_but.EtudCursusBUT(etud, formsemestre.formation)
|
||||
refcomp = formsemestre.formation.referentiel_competence
|
||||
if refcomp is None:
|
||||
|
Loading…
Reference in New Issue
Block a user