DEUX typos bloquant la synchro Apogee que je venais de réparer
This commit is contained in:
parent
31224d853e
commit
cb3be8c80c
@ -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())
|
||||
|
@ -1,7 +1,7 @@
|
||||
# -*- mode: python -*-
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
SCOVERSION = "9.0.21"
|
||||
SCOVERSION = "9.0.22"
|
||||
|
||||
SCONAME = "ScoDoc"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user