f string
This commit is contained in:
parent
214abf1f43
commit
b81c70519b
|
@ -59,7 +59,7 @@ def to_calendar(etudiant, periode):
|
|||
event.add("organizer", organizer)
|
||||
|
||||
for e in rotation.groupe_effectif():
|
||||
attendee = vCalAddress("mailto:{emailize(e.nom, prenom=e.prenom)}")
|
||||
attendee = vCalAddress(f"mailto:{emailize(e.nom, prenom=e.prenom)}")
|
||||
attendee.params["cn"] = vText(str(e))
|
||||
attendee.params["role"] = vText("Etudiant")
|
||||
|
||||
|
|
Loading…
Reference in New Issue