[attributs] condition correcte pour le solde (?)
This commit is contained in:
parent
7c7dc93b87
commit
7f4f64f9af
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue