oops: fichier oublié : fix #147

This commit is contained in:
Emmanuel Viennet 2021-10-11 16:05:23 +02:00
parent 165220e2f1
commit 3c5b721a3a

View File

@ -348,7 +348,7 @@ def do_moduleimpl_moyennes(nt, mod):
if etudid in eval_rattr["notes"]:
note = eval_rattr["notes"][etudid]["value"]
if note != None and note != NOTES_NEUTRALISE and note != NOTES_ATTENTE:
if isinstance(R[etudid], float):
if not isinstance(R[etudid], float):
R[etudid] = note
else:
note_sur_20 = note * 20.0 / eval_rattr["note_max"]