diff --git a/app/scodoc/sco_exceptions.py b/app/scodoc/sco_exceptions.py index 7f4a6790..7896336f 100644 --- a/app/scodoc/sco_exceptions.py +++ b/app/scodoc/sco_exceptions.py @@ -163,7 +163,7 @@ class ScoNoReferentielCompetences(ScoValueError): def __init__(self, msg: str = "", formation: "Formation" = None): formation_title = ( - f"{formation.title} version {formation.version}" if formation else "" + f"{formation.titre} version {formation.version}" if formation else "" ) msg = f"""
Pas de référentiel de compétences associé à la formation {formation_title}! diff --git a/sco_version.py b/sco_version.py index 91866c9f..5f885896 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.4.21" +SCOVERSION = "9.4.22" SCONAME = "ScoDoc"