From a7126990f0c4dbdaa83798477ffc756995a26480 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Wed, 4 Jan 2023 09:15:57 -0300 Subject: [PATCH] Fix typo --- app/scodoc/sco_exceptions.py | 2 +- sco_version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"