forked from ScoDoc/DocScoDoc
Fix: affichages malus
This commit is contained in:
parent
4eb08ec1d4
commit
55ffc80400
@ -191,7 +191,7 @@ def fmt_note(val, note_max=None, keep_numeric=False):
|
||||
return "EXC" # excuse, note neutralise
|
||||
if val == NOTES_ATTENTE:
|
||||
return "ATT" # attente, note neutralisee
|
||||
if isinstance(val, float) or isinstance(val, int):
|
||||
if not isinstance(val, str):
|
||||
if np.isnan(val):
|
||||
return "~"
|
||||
if (note_max is not None) and note_max > 0:
|
||||
|
Loading…
Reference in New Issue
Block a user