From 66a3e38cc085dc000776d3e2ad3acd7ef57068a3 Mon Sep 17 00:00:00 2001 From: Denise sur Lya Date: Tue, 16 Jun 2020 00:32:10 +0200 Subject: =?UTF-8?q?Ajout=20de=20la=20FAQ,=20correction=20de=20bugs.=20Meil?= =?UTF-8?q?leure=20requ=C3=AAte=20de=20courbe.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gestion_donnees.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gestion_donnees.py') diff --git a/gestion_donnees.py b/gestion_donnees.py index 82491ca..9584386 100644 --- a/gestion_donnees.py +++ b/gestion_donnees.py @@ -73,12 +73,12 @@ def convertit_poids_vers_python(chaine,liste_err): chaine2 = chaine2.replace(" ","") try: - poids = float(chaine) + poids = float(chaine2) except: warning("Poids impossible à lire : "+chaine,liste_err) poids = 0 - if not( 0