This commit is contained in:
Emmanuel Viennet 2021-12-17 00:39:06 +01:00
parent b153c9ad9e
commit eb5a1c727c

View File

@ -377,15 +377,17 @@ def dict_decision_jury(etudid, formsemestre_id, with_decisions=False):
etat = decision["etat"]
if decision["decision_sem"]:
code = decision["decision_sem"]["code"]
date = ndb.DateDMYtoISO(
dpv["decisions"][0]["decision_sem"]["event_date"]
)
else:
code = ""
date = ""
d["decision"] = dict(
code=code,
etat=etat,
date=ndb.DateDMYtoISO(
dpv["decisions"][0]["decision_sem"]["event_date"]
),
date=date,
)
if (
decision["decision_sem"]