From 1e7e17cf4a6fbfb89579fc34d2e570219b7bc779 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Sat, 21 Apr 2012 13:29:02 +0200 Subject: [PATCH] fix when history is empty --- modules/lcl/pages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lcl/pages.py b/modules/lcl/pages.py index e2cd3524..670c4d19 100644 --- a/modules/lcl/pages.py +++ b/modules/lcl/pages.py @@ -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