This commit is contained in:
Emmanuel Viennet 2021-12-17 00:39:06 +01:00
parent b153c9ad9e
commit 1a7310950b
2 changed files with 6 additions and 4 deletions

View File

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

View File

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