From e234ccfbb116eb6e30b8b4fed31d45f6ba322e6d Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Mon, 19 May 2014 20:16:36 +0200 Subject: [PATCH] oops: remove spaces in account IDs --- modules/societegenerale/pages/accounts_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/societegenerale/pages/accounts_list.py b/modules/societegenerale/pages/accounts_list.py index f784dfe9..65004164 100644 --- a/modules/societegenerale/pages/accounts_list.py +++ b/modules/societegenerale/pages/accounts_list.py @@ -72,7 +72,7 @@ class AccountsList(BasePage): account._link_id = a.get('href', '') elif td.attrib.get('headers', '') == 'NumeroCompte': - account.id = self.parser.tocleanstring(td) + account.id = self.parser.tocleanstring(td).replace(u'\xa0', '') elif td.attrib.get('headers', '') == 'Libelle': text = self.parser.tocleanstring(td)