fix when history is empty

This commit is contained in:
Romain Bignon 2012-04-21 13:29:02 +02:00
commit 1e7e17cf4a

View file

@ -186,7 +186,7 @@ class AccountHistoryPage(BasePage):
for tr in table.iter('tr'):
# skip headers and empty rows
if len(tr.findall("th"))!=0 or\
len(tr.findall("td"))==0:
len(tr.findall("td"))<=1:
continue
operation=Transaction(len(operations))
mntColumn=0