forked from ScoDoc/ScoDoc
exports bul xml
This commit is contained in:
parent
6d65626ce2
commit
9114c6bad5
@ -175,8 +175,8 @@ def make_xml_formsemestre_bulletinetud(
|
||||
doc.append(
|
||||
Element(
|
||||
"rang_group",
|
||||
group_type=partition["partition_name"],
|
||||
group_name=gr_name[partition["partition_id"]],
|
||||
group_type=partition["partition_name"] or "",
|
||||
group_name=gr_name[partition["partition_id"]] or "",
|
||||
value=str(rang_gr[partition["partition_id"]]),
|
||||
ninscrits=str(ninscrits_gr[partition["partition_id"]]),
|
||||
)
|
||||
@ -311,7 +311,7 @@ def make_xml_formsemestre_bulletinetud(
|
||||
description=scu.quote_xml_attr(e["description"]),
|
||||
incomplete="1",
|
||||
# notes envoyées sur 20, ceci juste pour garder trace:
|
||||
note_max_origin=e["note_max"],
|
||||
note_max_origin=str(e["note_max"] or ""),
|
||||
)
|
||||
x_mod.append(x_eval)
|
||||
# UE capitalisee (listee seulement si meilleure que l'UE courante)
|
||||
@ -364,7 +364,7 @@ def make_xml_formsemestre_bulletinetud(
|
||||
decision = dpv["decisions"][0]
|
||||
etat = decision["etat"]
|
||||
if decision["decision_sem"]:
|
||||
code = decision["decision_sem"]["code"]
|
||||
code = decision["decision_sem"]["code"] or ""
|
||||
else:
|
||||
code = ""
|
||||
if (
|
||||
|
Loading…
Reference in New Issue
Block a user