diff --git a/stages/test_files/HYPERPLANNING.txt b/stages/test_files/HYPERPLANNING.txt index e80680b..a5a7d81 100644 --- a/stages/test_files/HYPERPLANNING.txt +++ b/stages/test_files/HYPERPLANNING.txt @@ -28,4 +28,4 @@ Dupond Jeanne;;Sém. enfance 2;[2ASEFE c-d E S2];8.00 Dupond Jeanne;;Sém. enfance 2;[2ASEFE c-d E S2];8.00 Dupond Jeanne;;Sém. enfance 2;[2ASEFE c-d E S2];8.00 Dupond Jeanne;;Sém. enfance 2;[2ASEFE c-d E S2];8.00 -Dupond Jeanne;;Travail personnel;[2ASEFE c-d E S2];8.00 +Dupond Jeanne;;Travail personnel;[2ASEFE c-d E S2];1'054.00 diff --git a/stages/views.py b/stages/views.py index 5f39679..25705d6 100644 --- a/stages/views.py +++ b/stages/views.py @@ -428,7 +428,7 @@ class HPImportView(ImportViewBase): public=line['NOMPERSO_DIP'], ) - period = int(float(line['TOTAL'])) + period = int(float(line['TOTAL'].replace("'",""))) if created: obj.period = period obj_created += 1