The new woob repository is here: This gitlab will be removed soon.

Commit 1d394032 authored by mgasselin's avatar mgasselin Committed by Romain Bignon

[creditdunord] Skip iban return for cards

The website seems to create fake iban with the id card (but not
reachable with website navigation).
parent 7a3e3622
......@@ -118,8 +118,9 @@ def get_accounts_list(self):
link =
for a in [a for a in accounts if a._acc_nb]:
self.location(link + a._acc_nb)
a.iban =
if a.type != Account.TYPE_CARD:
self.location(link + a._acc_nb)
a.iban =
return accounts
......@@ -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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment