Merge pull request 'f string fix' (#3) from dev into main

Reviewed-on: sl_game_studio/kholles-web#3
This commit is contained in:
Valentin Moguérou 2024-04-20 12:54:31 +02:00
commit 22b6e77997
1 changed files with 1 additions and 1 deletions

View File

@ -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")