f string fix
This commit is contained in:
parent
b1556643de
commit
e671b5a1a1
|
@ -41,7 +41,7 @@ def to_calendar(etudiant, periode):
|
|||
event.add("location", f"{rotation.creneau.salle} ({rotation.creneau.periode.classe.lycee})")
|
||||
event.add("categories", "COLLE-" + str(rotation.creneau.matiere))
|
||||
|
||||
description = "Groupes: {','.join(str(groupe) for groupe in rotation.groupes.all())}"
|
||||
description = f"Groupes: {','.join(str(groupe) for groupe in rotation.groupes.all())}"
|
||||
event.add("description", description)
|
||||
|
||||
organizer = vCalAddress("mailto:unknown@mp2i-vms.fr")
|
||||
|
|
Loading…
Reference in New Issue