From f13752e86b90e7b3d04f04ceb3c9aa9fd87ea635 Mon Sep 17 00:00:00 2001 From: Maxime Gasselin Date: Wed, 21 Nov 2018 12:05:28 +0100 Subject: [PATCH] [boursorama] Avoid iter_recipients for Loan and Life insurance Closes: 1013621@redmine --- modules/boursorama/browser.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/boursorama/browser.py b/modules/boursorama/browser.py index c0b9dd0564..df42dcd078 100644 --- a/modules/boursorama/browser.py +++ b/modules/boursorama/browser.py @@ -367,6 +367,9 @@ def get_advisor(self): @need_login def iter_transfer_recipients(self, account): + if account.type in (Account.TYPE_LOAN, Account.TYPE_LIFE_INSURANCE): + return [] + assert account.url url = urlsplit(account.url) -- GitLab