diff --git a/modules/creditdunord/pages.py b/modules/creditdunord/pages.py index 219ea52d..78a620b1 100644 --- a/modules/creditdunord/pages.py +++ b/modules/creditdunord/pages.py @@ -172,7 +172,7 @@ class ProAccountsPage(AccountsPage): cols = tr.findall('td') a = Account() - a.id = cols[self.COL_ID].xpath('.//span[@class="right-underline"]')[0].text.strip() + a.id = cols[self.COL_ID].xpath('.//span[@class="right-underline"]')[0].text.replace(' ', '').strip() a.label = unicode(cols[self.COL_ID].xpath('.//span[@class="left-underline"]')[0].text.strip()) a.type = self.get_account_type(a.label) balance = self.parser.tocleanstring(cols[self.COL_BALANCE])