Fix CSV process
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
parent
7605b9cc00
commit
bd31375bf3
|
@ -231,6 +231,8 @@ class UploadNotesForm(forms.Form):
|
|||
if len(line) < 19:
|
||||
continue
|
||||
name = line[0]
|
||||
if name in ["moyenne", "coefficient", "sous-total"]:
|
||||
continue
|
||||
notes = line[1:19]
|
||||
if not all(s.isnumeric() for s in notes):
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue