diff --git a/modules/bforbank/pages.py b/modules/bforbank/pages.py index f7d20ba2d95e8295c442af7eab92ad03d89f35f9..2118e88034f7f824ab43f376c73cc61c2a69ba62 100644 --- a/modules/bforbank/pages.py +++ b/modules/bforbank/pages.py @@ -124,7 +124,7 @@ def populate_rib(self, accounts): if 'selected' in option.attrib: self.get_iban(accounts) else: - page = self.browser.rib.go(id=re.sub(r'[^\d]', '', Attr('.', 'value')(option))) + page = self.browser.rib.go(id=Regexp(Attr('.', 'value'), r'/(.+)')(option)) page.get_iban(accounts) def get_iban(self, accounts):