bnporc fall back on old website for pro accounts
This commit is contained in:
parent
4477c32e9c
commit
94cb1c4e21
3 changed files with 18 additions and 3 deletions
|
|
@ -74,6 +74,13 @@ class BNPParibasBrowser(CompatMixin, JsonBrowserMixin, LoginBrowser):
|
|||
history = URL('rop-wspl/rest/releveOp', HistoryPage)
|
||||
transfer_init = URL('virement-wspl/rest/initialisationVirement', TransferInitPage)
|
||||
|
||||
class ProAccount(Exception):
|
||||
pass
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(BNPParibasBrowser, self).__init__(*args, **kwargs)
|
||||
self.do_login()
|
||||
|
||||
def switch(self, subdomain):
|
||||
self.BASEURL = self.BASEURL_TEMPLATE % subdomain
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue