sgpe: request to 'select' the right number of columns
This commit is contained in:
parent
ba3704993a
commit
2f7e1305c4
1 changed files with 1 additions and 1 deletions
|
|
@ -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)):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue