diff --git a/modules/ing/pages/account_history.py b/modules/ing/pages/account_history.py index cc0a5ec5..397ec467 100644 --- a/modules/ing/pages/account_history.py +++ b/modules/ing/pages/account_history.py @@ -49,6 +49,7 @@ class AccountHistory(BasePage): for tr in table.xpath('tr'): textdate = tr.find('td[@class="op_date"]').text_content() textraw = tr.find('td[@class="op_label"]').text_content().strip() + textraw = re.sub(' +', ' ', textraw) # The id will be rewrite op = Transaction(1) amount = op.clean_amount(tr.find('td[@class="op_amount"]').text_content())