forked from ScoDoc/ScoDoc
Update opolka/ScoDoc from ScoDoc/ScoDoc #2
@ -297,10 +297,11 @@ def read_formsemestre_responsables(formsemestre_id: int) -> list[int]: # py3.9+
|
|||||||
|
|
||||||
|
|
||||||
def _write_formsemestre_responsables(sem): # TODO old, à ré-écrire avec models
|
def _write_formsemestre_responsables(sem): # TODO old, à ré-écrire avec models
|
||||||
sem["responsables"] = [
|
if sem and "responsables" in sem:
|
||||||
uid for uid in sem["responsables"] if (uid is not None) and (uid != -1)
|
sem["responsables"] = [
|
||||||
]
|
uid for uid in sem["responsables"] if (uid is not None) and (uid != -1)
|
||||||
return _write_formsemestre_aux(sem, "responsables", "responsable_id")
|
]
|
||||||
|
_write_formsemestre_aux(sem, "responsables", "responsable_id")
|
||||||
|
|
||||||
|
|
||||||
# ---------------------- Coefs des UE
|
# ---------------------- Coefs des UE
|
||||||
|
Loading…
Reference in New Issue
Block a user