bred: ability to select accounts
This commit is contained in:
parent
f46c2c3e71
commit
fe6d99c51a
3 changed files with 32 additions and 4 deletions
|
|
@ -41,6 +41,10 @@ class BredBrowser(BaseBrowser):
|
|||
'https://www.bred.fr/': EmptyPage,
|
||||
}
|
||||
|
||||
def __init__(self, accnum, *args, **kwargs):
|
||||
self.accnum = accnum.zfill(11)
|
||||
BaseBrowser.__init__(self, *args, **kwargs)
|
||||
|
||||
def is_logged(self):
|
||||
return self.page is not None and not self.is_on_page(LoginPage)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue