ignore summary lines in history tables
This commit is contained in:
parent
a8455d4376
commit
b48b3c926f
1 changed files with 3 additions and 1 deletions
|
|
@ -221,7 +221,9 @@ class AccountHistoryPage(LoggedPage, HTMLPage):
|
|||
|
||||
class item(Transaction.TransactionElement):
|
||||
def condition(self):
|
||||
return self.parent.get_colnum('date') is not None and len(self.el.findall('td')) >= 3
|
||||
return self.parent.get_colnum('date') is not None and \
|
||||
len(self.el.findall('td')) >= 3 and \
|
||||
not 'tableTr' in self.el.get('class')
|
||||
|
||||
def validate(self, obj):
|
||||
return obj.category != 'RELEVE CB'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue