Commit e9eff5a8 authored by ntome's avatar ntome Committed by Romain Bignon

[apivie] remove "with" since it's for browser1

parent 08678b38
......@@ -45,17 +45,13 @@ class ApivieModule(Module, CapBankWealth):
self.config['password'].get())
def iter_accounts(self):
with self.browser:
return self.browser.iter_accounts()
return self.browser.iter_accounts()
def get_account(self, _id):
with self.browser:
return self.browser.get_account(_id)
return self.browser.get_account(_id)
def iter_investment(self, account):
with self.browser:
return self.browser.iter_investment(account)
return self.browser.iter_investment(account)
def iter_history(self, account):
with self.browser:
return self.browser.iter_history(account)
return self.browser.iter_history(account)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment