Quentin Defenouillere
Committed by Romain Bignon

[boursorama] Added Consumer Credits to the list of ignored Loans

in iter_history, trying the _webid request on a Loan or a Consumer
Credit leads to a 404: "La page demandée n'existe plus!"
Adding the Consumer Credits to the ignored accounts solves the problem.
......@@ -358,7 +358,7 @@ class BoursoramaBrowser(RetryLoginBrowser, StatesMixin):
def get_history(self, account, coming=False):
if account.type is Account.TYPE_LOAN or '/compte/derive' in account.url:
if account.type in (Account.TYPE_LOAN, Account.TYPE_CONSUMER_CREDIT) or '/compte/derive' in account.url:
return []
if account.type is Account.TYPE_SAVINGS and u"PLAN D'\xc9PARGNE POPULAIRE" in account.label:
return []