From fbd760488fba0102a888c80ca4711463133bc818 Mon Sep 17 00:00:00 2001 From: Maxime Gasselin Date: Thu, 31 Jan 2019 13:38:04 +0100 Subject: [PATCH] [caissedepargne] Fix regression Replace to self.browser.session.cookies. Crash for revolving loans. Closes: 6087@sibi --- modules/caissedepargne/pages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/caissedepargne/pages.py b/modules/caissedepargne/pages.py index 967048437b..0cfe9407a6 100644 --- a/modules/caissedepargne/pages.py +++ b/modules/caissedepargne/pages.py @@ -459,7 +459,7 @@ def get_loan_list(self): account._card_links = [] if "renouvelables" in CleanText('.')(title): - if 'JSESSIONID' in self.session.cookies: + if 'JSESSIONID' in self.browser.session.cookies: # Need to delete this to access the consumer loans space (a new one will be created) del self.browser.session.cookies['JSESSIONID'] self.go_loans_conso(tr) -- GitLab