do not crash when we aren't on a operations page
This commit is contained in:
parent
a84d5f947c
commit
aa2e93d461
1 changed files with 3 additions and 0 deletions
|
|
@ -92,6 +92,9 @@ class CreditMutuelBrowser(LoginBrowser):
|
|||
else:
|
||||
self.location('%s/%s/fr/banque/%s' % (self.BASEURL, self.currentSubBank, page_url))
|
||||
|
||||
if not self.operations.is_here():
|
||||
return iter([])
|
||||
|
||||
return self.pagination(lambda: self.page.get_history())
|
||||
|
||||
def get_history(self, account):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue