Fix: exceptions dans formules utilisateurs

This commit is contained in:
Emmanuel Viennet 2021-11-09 11:45:51 +01:00
parent 981f2c0e46
commit 7f2e87e9d0

View File

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