diff --git a/app/scodoc/sco_saisie_excel.py b/app/scodoc/sco_saisie_excel.py index f46d4a6dc..55f9a66f2 100644 --- a/app/scodoc/sco_saisie_excel.py +++ b/app/scodoc/sco_saisie_excel.py @@ -939,7 +939,10 @@ def _get_sheet_evaluations( if (evaluation is None) or (sheet_eval_id != evaluation.id): diag.append( f"""Erreur: fichier invalide: le code d'évaluation de correspond pas ! ('{ - sheet_eval_id or ('non trouvé')}' != '{evaluation.id}')""" + sheet_eval_id or ('non trouvé') + }' != '{ + evaluation.id if evaluation else "pas d'évaluation indiquée" + }')""" ) raise InvalidNoteValue() return i, [evaluation], {evaluation.id: 4} diff --git a/sco_version.py b/sco_version.py index 5b57b0979..5763f98fc 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.7.16" +SCOVERSION = "9.7.17" SCONAME = "ScoDoc"