From 2f7e1305c40c37765d331fdd2bd76dab79d84764 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Sun, 28 Jul 2013 16:00:07 +0200 Subject: [PATCH] sgpe: request to 'select' the right number of columns --- modules/societegenerale/sgpe/pages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/societegenerale/sgpe/pages.py b/modules/societegenerale/sgpe/pages.py index d1441049..d84c3170 100644 --- a/modules/societegenerale/sgpe/pages.py +++ b/modules/societegenerale/sgpe/pages.py @@ -121,7 +121,7 @@ class HistoryPage(SGPEPage): continue tddate, tdlabel, tddebit, tdcredit, tdval, tdbal = [td.text_content().strip() for td - in self.parser.select(tr, 'td', 4)] + in self.parser.select(tr, 'td', 6)] tdamount = tddebit or tdcredit # not sure it has empty rows like AccountsPage, but check anyway if all((tddate, tdlabel, tdamount)):