diff --git a/modules/caissedepargne/pages.py b/modules/caissedepargne/pages.py index e63f5c1d223a369e78dfdbfab59d7a0751d9f41f..426a07b18440c090b2ad0e30b41af14758a065a0 100644 --- a/modules/caissedepargne/pages.py +++ b/modules/caissedepargne/pages.py @@ -1057,7 +1057,7 @@ def get_card_coming_info(self, number, info): if CleanText('//a[contains(text(),"%s")]' % number)(self.doc): # For all cards except the first one for the same check account, we have to get info through their href info link = CleanText(Link('//a[contains(text(),"%s")]' % number))(self.doc) - infos = re.match(r'.*(DETAIL_OP_M0&[^\"]+).*', link) + infos = re.match(r'.*(DETAIL_OP_M\d&[^\"]+).*', link) info['link'] = infos.group(1) return info