diff --git a/modules/creditdunord/browser.py b/modules/creditdunord/browser.py index 16d849d6ddb63e5c73970237c548aafbf41d6a2e..e44a9740cc0e7b8df5d3d485965f328991c3b105 100644 --- a/modules/creditdunord/browser.py +++ b/modules/creditdunord/browser.py @@ -118,8 +118,9 @@ def get_accounts_list(self): link = self.page.iban_go() for a in [a for a in accounts if a._acc_nb]: - self.location(link + a._acc_nb) - a.iban = self.page.get_iban() + if a.type != Account.TYPE_CARD: + self.location(link + a._acc_nb) + a.iban = self.page.get_iban() return accounts diff --git a/modules/creditdunord/pages.py b/modules/creditdunord/pages.py index 2f05dd8bb321785da3b70c83ca27083d94f586c1..1a5a98d3cb084d730f221149cba38dd66de5564a 100755 --- a/modules/creditdunord/pages.py +++ b/modules/creditdunord/pages.py @@ -180,7 +180,7 @@ def get_labels(self): if CleanText(Dict('label'))(element) in synthesis_labels: synthesis_label = CleanText(Dict('link'))(element).split("/")[-1] if CleanText(Dict('label'))(element) in loan_labels: - loan_label = CleanText(Dict('link'))(element).split("/")[-1] + loan_label = CleanText(Dict('link'))(element).split("/")[-1] return (synthesis_label, loan_label)