From 7f2e87e9d01f1517fc90e12d92c2576a01076745 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Tue, 9 Nov 2021 11:45:51 +0100 Subject: [PATCH] Fix: exceptions dans formules utilisateurs --- app/scodoc/notes_table.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scodoc/notes_table.py b/app/scodoc/notes_table.py index 27617c00..9f9314e2 100644 --- a/app/scodoc/notes_table.py +++ b/app/scodoc/notes_table.py @@ -631,7 +631,7 @@ class NotesTable(object): matiere_sum_coefs += coef matiere_id_last = matiere_id except TypeError: # val == "NI" "NA" - assert val == "NI" or val == "NA" + assert val == "NI" or val == "NA" or val == "ERR" nb_missing = nb_missing + 1 coefs.append(0) coefs_mask.append(0)