Saisie excel: corrige message d'erreur

This commit is contained in:
Emmanuel Viennet 2024-09-05 15:35:49 +02:00
parent 5d1fdc656c
commit 0bf13f7790
2 changed files with 5 additions and 2 deletions

View File

@ -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}

View File

@ -1,7 +1,7 @@
# -*- mode: python -*-
# -*- coding: utf-8 -*-
SCOVERSION = "9.7.16"
SCOVERSION = "9.7.17"
SCONAME = "ScoDoc"