forked from ScoDoc/ScoDoc
Saisie excel: corrige message d'erreur
This commit is contained in:
parent
5d1fdc656c
commit
0bf13f7790
@ -939,7 +939,10 @@ def _get_sheet_evaluations(
|
|||||||
if (evaluation is None) or (sheet_eval_id != evaluation.id):
|
if (evaluation is None) or (sheet_eval_id != evaluation.id):
|
||||||
diag.append(
|
diag.append(
|
||||||
f"""Erreur: fichier invalide: le code d'évaluation de correspond pas ! ('{
|
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()
|
raise InvalidNoteValue()
|
||||||
return i, [evaluation], {evaluation.id: 4}
|
return i, [evaluation], {evaluation.id: 4}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# -*- mode: python -*-
|
# -*- mode: python -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
SCOVERSION = "9.7.16"
|
SCOVERSION = "9.7.17"
|
||||||
|
|
||||||
SCONAME = "ScoDoc"
|
SCONAME = "ScoDoc"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user