From 487151d236c9fc6e7df192b92251a59c0e417814 Mon Sep 17 00:00:00 2001 From: Laurent Bachelier Date: Sat, 11 Aug 2018 00:15:08 +0200 Subject: [PATCH] axabanque: PEP8 fixes --- modules/axabanque/browser.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/axabanque/browser.py b/modules/axabanque/browser.py index 6b3a44b427..443bd13d1d 100644 --- a/modules/axabanque/browser.py +++ b/modules/axabanque/browser.py @@ -174,8 +174,8 @@ def iter_accounts(self): ids.add(a.id) - #The url giving life insurrance investments seems to be temporary. - #That's why we have to get them now + # The url giving life insurrance investments seems to be temporary. + # That's why we have to get them now if a.type == a.TYPE_LIFE_INSURANCE: self.cache['invs'][a.id] = list(self.open(a._url).page.iter_investment()) args = a._args @@ -186,7 +186,7 @@ def iter_accounts(self): 'codeFamille': args['paramCodeFamille'], 'codeProduit': args['paramCodeProduit'], 'codeSousProduit': args['paramCodeSousProduit'] - } + } try: r = self.open('/webapp/axabanque/popupPDF', params=iban_params) a.iban = r.page.get_iban() @@ -290,7 +290,7 @@ def iter_history(self, account): self.location(acc._market_link) self.bourse_history.go() - if not 'Liquidités' in account.label: + if 'Liquidités' not in account.label: self.page.go_history_filter(cash_filter="market") else: self.page.go_history_filter(cash_filter="liquidity") -- GitLab