diff --git a/app/scodoc/sco_edit_matiere.py b/app/scodoc/sco_edit_matiere.py index fb40c2b0..f691e350 100644 --- a/app/scodoc/sco_edit_matiere.py +++ b/app/scodoc/sco_edit_matiere.py @@ -92,7 +92,7 @@ def do_matiere_create(args): sco_news.add( typ=sco_news.NEWS_FORM, object=ue["formation_id"], - text="Modification de la formation {formation.acronyme}", + text=f"Modification de la formation {formation.acronyme}", max_frequency=3, ) formation.invalidate_cached_sems() @@ -200,7 +200,7 @@ def do_matiere_delete(oid): sco_news.add( typ=sco_news.NEWS_FORM, object=ue["formation_id"], - text="Modification de la formation {formation.acronyme}", + text=f"Modification de la formation {formation.acronyme}", max_frequency=3, ) formation.invalidate_cached_sems() diff --git a/app/scodoc/sco_edit_ue.py b/app/scodoc/sco_edit_ue.py index 8f18a5b2..98d05e9a 100644 --- a/app/scodoc/sco_edit_ue.py +++ b/app/scodoc/sco_edit_ue.py @@ -141,7 +141,7 @@ def do_ue_create(args): sco_news.add( typ=sco_news.NEWS_FORM, object=args["formation_id"], - text="Modification de la formation {formation.acronyme}", + text=f"Modification de la formation {formation.acronyme}", max_frequency=3, ) formation.invalidate_cached_sems()