mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-26 06:22:22 +00:00
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:
|
if len(line) < 19:
|
||||||
continue
|
continue
|
||||||
name = line[0]
|
name = line[0]
|
||||||
|
if name in ["moyenne", "coefficient", "sous-total"]:
|
||||||
|
continue
|
||||||
notes = line[1:19]
|
notes = line[1:19]
|
||||||
if not all(s.isnumeric() for s in notes):
|
if not all(s.isnumeric() for s in notes):
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user