From 90e72fb717563f5acfe982df67c6662b406f9db9 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 7f4a67904..7896336f2 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 91866c9f2..5f885896c 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"