From e671b5a1a1e36a4c7c3d5874f14db966635737bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Valentin=20Mogu=C3=A9rou?= Date: Sat, 20 Apr 2024 12:41:33 +0200 Subject: [PATCH] f string fix --- colloscope/icalexport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colloscope/icalexport.py b/colloscope/icalexport.py index 22d28a8..9c3ae44 100644 --- a/colloscope/icalexport.py +++ b/colloscope/icalexport.py @@ -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") -- 2.45.2