From 7f4f64f9affb527ed38a4c993bc14522012ce9b8 Mon Sep 17 00:00:00 2001 From: Antoine Durand-Gasselin Date: Sun, 17 Oct 2010 15:48:34 +0200 Subject: [PATCH] [attributs] condition correcte pour le solde (?) --- attributs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attributs.py b/attributs.py index 8cafe53..8f766b7 100644 --- a/attributs.py +++ b/attributs.py @@ -267,7 +267,7 @@ class solde(Attr): def parse_value(self, solde, ldif): # on évite les dépassements - if float(solde) >= config.impression.decouvert and float(solde) <= 1024.: + if not (float(solde) >= config.impression.decouvert and float(solde) <= 1024.): raise ValueError("Solde invalide: %s" % solde) self.value = solde