upgrade to browser2
This commit is contained in:
parent
8b9073de12
commit
1b2d3cfe48
3 changed files with 233 additions and 275 deletions
|
|
@ -59,16 +59,14 @@ class CreditMutuelBackend(BaseBackend, ICapBank):
|
|||
raise AccountNotFound()
|
||||
|
||||
def iter_coming(self, account):
|
||||
with self.browser:
|
||||
for tr in self.browser.get_history(account):
|
||||
if tr._is_coming:
|
||||
yield tr
|
||||
for tr in self.browser.get_history(account):
|
||||
if tr._is_coming:
|
||||
yield tr
|
||||
|
||||
def iter_history(self, account):
|
||||
with self.browser:
|
||||
for tr in self.browser.get_history(account):
|
||||
if not tr._is_coming:
|
||||
yield tr
|
||||
for tr in self.browser.get_history(account):
|
||||
if not tr._is_coming:
|
||||
yield tr
|
||||
|
||||
def iter_transfer_recipients(self, ignored):
|
||||
for account in self.browser.get_accounts_list():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue