Merge pull request 'f string fix' (#3) from dev into main
Reviewed-on: sl_game_studio/kholles-web#3
This commit is contained in:
commit
22b6e77997
|
@ -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