bnppro: correctly detect coming transactions
This commit is contained in:
parent
cf71465100
commit
8ec567572d
1 changed files with 3 additions and 0 deletions
|
|
@ -109,6 +109,9 @@ class ProAccountHistory(BasePage):
|
||||||
for i, tr in enumerate(self.document.xpath('//tr[@class="hdoc1" or @class="hdotc1"]')):
|
for i, tr in enumerate(self.document.xpath('//tr[@class="hdoc1" or @class="hdotc1"]')):
|
||||||
cols = tr.findall('td')
|
cols = tr.findall('td')
|
||||||
|
|
||||||
|
if len(cols) < 4:
|
||||||
|
continue
|
||||||
|
|
||||||
op = Transaction(i)
|
op = Transaction(i)
|
||||||
|
|
||||||
date = self.parser.tocleanstring(cols[self.COL_DATE])
|
date = self.parser.tocleanstring(cols[self.COL_DATE])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue