ignore parcours dans import/export (groupe)

This commit is contained in:
Jean-Marie Place 2023-04-19 07:49:49 +02:00
parent 54bcbff179
commit 3235e2a912

View File

@ -493,14 +493,12 @@ def etud_add_group_infos(
etud["partitions"][info["partition_id"]] = info
# resume textuel des groupes:
etud["groupes"] = sep.join(
[gr["group_name"] for gr in infos if gr["group_name"] is not None]
)
etud["groupes"] = sep.join([gr["group_name"] for gr in infos if gr["group_name"]])
etud["partitionsgroupes"] = sep.join(
[
(gr["partition_name"] or "") + ":" + gr["group_name"]
for gr in infos
if gr["group_name"] is not None
if gr["group_name"]
]
)