fix retrieving history when not on the accounts list page

This commit is contained in:
Romain Bignon 2012-08-18 13:17:25 +02:00
commit 83a0419e42

View file

@ -81,8 +81,7 @@ class CaisseEpargne(BaseBrowser):
return None
def get_history(self, account):
if not self.is_on_page(IndexPage):
self.location(self.buildurl('/Portail.aspx'))
self.location(self.buildurl('/Portail.aspx'))
self.page.go_history(account.id)