Rewrite Wells Fargo with browser2 (closes #1624)
Signed-off-by: Oleg Plakhotniuk <olegus8@gmail.com>
This commit is contained in:
parent
9d36e7a0e6
commit
8f2b3acce6
3 changed files with 142 additions and 230 deletions
|
|
@ -44,13 +44,10 @@ class WellsFargoBackend(BaseBackend, CapBank):
|
|||
self.config['password'].get())
|
||||
|
||||
def iter_accounts(self):
|
||||
with self.browser:
|
||||
return self.browser.get_accounts()
|
||||
return self.browser.get_accounts()
|
||||
|
||||
def get_account(self, id_):
|
||||
with self.browser:
|
||||
return self.browser.get_account(id_)
|
||||
return self.browser.get_account(id_)
|
||||
|
||||
def iter_history(self, account):
|
||||
with self.browser:
|
||||
return self.browser.iter_history(account)
|
||||
return self.browser.iter_history(account)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue