From d127f35f293a0bf2f91680a58f77cd1e31e0209f Mon Sep 17 00:00:00 2001 From: Quentin Defenouillere Date: Fri, 3 Jan 2020 17:37:48 +0100 Subject: [PATCH] [cragr/api] Included PER to iter_investments It works well with the connection I checked. --- modules/cragr/api/browser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/cragr/api/browser.py b/modules/cragr/api/browser.py index 4fbb7197d3..f8d9529976 100644 --- a/modules/cragr/api/browser.py +++ b/modules/cragr/api/browser.py @@ -543,7 +543,7 @@ def iter_investment(self, account): #for inv in self.page.iter_investments(): # yield inv - elif account.type in (Account.TYPE_PERP, Account.TYPE_PERCO, Account.TYPE_LIFE_INSURANCE, Account.TYPE_CAPITALISATION): + elif account.type in (Account.TYPE_PER, Account.TYPE_PERP, Account.TYPE_PERCO, Account.TYPE_LIFE_INSURANCE, Account.TYPE_CAPITALISATION): if account.label == "Vers l'avenir": # Website crashes when clicking on these Life Insurances... return -- GitLab