bnppro: correctly detect coming transactions

This commit is contained in:
Romain Bignon 2013-07-28 17:41:26 +02:00
commit 8ec567572d

View file

@ -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])