diff --git a/modules/bnporc/pro.py b/modules/bnporc/pro.py index b7f4808b..c03fcbc6 100644 --- a/modules/bnporc/pro.py +++ b/modules/bnporc/pro.py @@ -109,6 +109,9 @@ class ProAccountHistory(BasePage): for i, tr in enumerate(self.document.xpath('//tr[@class="hdoc1" or @class="hdotc1"]')): cols = tr.findall('td') + if len(cols) < 4: + continue + op = Transaction(i) date = self.parser.tocleanstring(cols[self.COL_DATE])