never convert a float to Decimal

This commit is contained in:
Romain Bignon 2012-04-11 13:23:49 +02:00 committed by Romain Bignon
commit 22c2210fe7
4 changed files with 4 additions and 4 deletions

View file

@ -61,7 +61,7 @@ class AccountsList(BasePage):
if balance != "":
account.balance = Decimal(balance)
else:
account.balance = Decimal(0.0)
account.balance = Decimal(0)
else:
# because of some weird useless <tr>