From 1a7310950bcbbc9bd91db383c09faf2cca85b3ab Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Fri, 17 Dec 2021 00:39:06 +0100 Subject: [PATCH] oups --- app/scodoc/sco_bulletins_json.py | 8 +++++--- sco_version.py | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/scodoc/sco_bulletins_json.py b/app/scodoc/sco_bulletins_json.py index 9dae5753..2b5ec2c4 100644 --- a/app/scodoc/sco_bulletins_json.py +++ b/app/scodoc/sco_bulletins_json.py @@ -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"] diff --git a/sco_version.py b/sco_version.py index fe2a6f29..71c0c902 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.1.8" +SCOVERSION = "9.1.9" SCONAME = "ScoDoc"