fix broken ics export #2
|
@ -42,7 +42,7 @@ def to_calendar(etudiant, periode):
|
||||||
event.add("categories", "COLLE-" + str(rotation.creneau.matiere))
|
event.add("categories", "COLLE-" + str(rotation.creneau.matiere))
|
||||||
|
|
||||||
description = "Groupes: {','.join(str(groupe) for groupe in rotation.groupes.all())}"
|
description = "Groupes: {','.join(str(groupe) for groupe in rotation.groupes.all())}"
|
||||||
event.add(description)
|
event.add("description", description)
|
||||||
|
|
||||||
organizer = vCalAddress("mailto:unknown@mp2i-vms.fr")
|
organizer = vCalAddress("mailto:unknown@mp2i-vms.fr")
|
||||||
organizer.params["cn"] = vText(str(rotation.creneau.colleur))
|
organizer.params["cn"] = vText(str(rotation.creneau.colleur))
|
||||||
|
|
Loading…
Reference in New Issue