display accounts without history

This commit is contained in:
Romain Bignon 2012-04-29 22:26:07 +02:00
commit 67ba5b42c0
2 changed files with 4 additions and 1 deletions

View file

@ -91,5 +91,8 @@ class HSBC(BaseBrowser):
return None
def get_history(self, link):
if link is None:
return iter([])
self.location(link)
return self.page.get_operations()

View file

@ -45,7 +45,7 @@ class AccountsListPage(BasePage):
account._link_id = a.attrib['href']
if not 'CPT_IdPrestation' in account._link_id:
continue
account._link_id = None
tag = tds[2].find('font')
if tag is None: