sgpe: skip empty lines
This commit is contained in:
parent
482a7c3c6c
commit
ca1417d5c7
1 changed files with 3 additions and 0 deletions
|
|
@ -214,6 +214,9 @@ class CardHistoryPage(SGPEPage):
|
|||
raw = self.parser.tocleanstring(tds[self.COL_LABEL])
|
||||
amount = self.parser.tocleanstring(tds[self.COL_AMOUNT])
|
||||
|
||||
if len(date) == 0:
|
||||
continue
|
||||
|
||||
t = Transaction(i)
|
||||
t.parse(date, raw)
|
||||
t.set_amount(amount)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue