# unité
unite = data.get("unite","")
- if not (unite in liste_unites_valides):
+
+ if not (unite in CONFIG["liste_unites"]):
unite = ""
#warning("L'unité "+unite+" n'est pas reconnue !",liste_err)
configuration["unite"] = unite
-
+
# grille
grille = data.get("grille","")
if grille != "on":