From cb3be8c80cb712baf735f3cf6053b102532f9f87 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Mon, 13 Sep 2021 23:36:56 +0200 Subject: [PATCH] =?UTF-8?q?DEUX=20typos=20bloquant=20la=20synchro=20Apogee?= =?UTF-8?q?=20que=20je=20venais=20de=20r=C3=A9parer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scodoc/sco_synchro_etuds.py | 4 ++-- sco_version.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/scodoc/sco_synchro_etuds.py b/app/scodoc/sco_synchro_etuds.py index 6087ef87..f3d928cb 100644 --- a/app/scodoc/sco_synchro_etuds.py +++ b/app/scodoc/sco_synchro_etuds.py @@ -401,7 +401,7 @@ def list_synch(sem, anneeapogee=None): if not etud_apo: etudid = key2etudid[key] etuds = sco_etud.identite_list(cnx, {"etudid": etudid}) - if not etud: # ? cela ne devrait pas arriver XXX + if not etuds: # ? cela ne devrait pas arriver XXX log(f"XXX key2etud etudid={{etudid}}, type {{type(etudid)}}") etud = etuds[0] etud["inscrit"] = is_inscrit # checkbox state @@ -517,7 +517,7 @@ def list_all(etudsapo_set): + """, id AS etudid FROM identite WHERE dept_id=%(dept_id)s """, - {"dept_id", g.scodoc_dept_id}, + {"dept_id": g.scodoc_dept_id}, ) key2etudid = dict([(x[0], x[1]) for x in cursor.fetchall()]) all_set = set(key2etudid.keys()) diff --git a/sco_version.py b/sco_version.py index 2f23bcd5..112f9f48 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.0.21" +SCOVERSION = "9.0.22" SCONAME = "ScoDoc"