fixing closed life insurance account on fortuneo

This commit is contained in:
Vincent Paredes 2015-07-06 14:13:51 +02:00 committed by Romain Bignon
commit d8fecab254
2 changed files with 13 additions and 4 deletions

View file

@ -90,9 +90,10 @@ class Fortuneo(Browser):
def get_history(self, account):
self.location(account._link_id)
self.page.select_period()
if self.page.select_period():
return self.page.get_operations(account)
return self.page.get_operations(account)
return ([])
def get_accounts_list(self):
"""accounts list"""