From bd0f14fd56680ef0b81536cc3267d6f92428ad1a Mon Sep 17 00:00:00 2001 From: Kitof Date: Tue, 17 Dec 2013 22:23:45 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20bug=20(thanks=20to=20JP=20Dutr=C3=A8ve)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/hellobank/perso/accounts_list.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 modules/hellobank/perso/accounts_list.py diff --git a/modules/hellobank/perso/accounts_list.py b/modules/hellobank/perso/accounts_list.py old mode 100644 new mode 100755 index c2680bae..3b129207 --- a/modules/hellobank/perso/accounts_list.py +++ b/modules/hellobank/perso/accounts_list.py @@ -52,8 +52,8 @@ class AccountsList(BasePage): account = Account() account.label = u''+compte['libellePersoProduit'] account.currency = account.get_currency(compte['devise']) - account.balance = Decimal(compte['soldeDispo']) - account.coming = Decimal(compte['soldeAVenir']) + account.balance = Decimal(str(compte['soldeDispo'])) + account.coming = Decimal(str(compte['soldeAVenir'])) account.type = self.ACCOUNT_TYPES.get(id_famille, Account.TYPE_UNKNOWN) account.id = 0 account._link_id = 'KEY'+compte['key']