diff --git a/modules/societegenerale/sgpe/pages.py b/modules/societegenerale/sgpe/pages.py index 8f1738ad..80e63054 100644 --- a/modules/societegenerale/sgpe/pages.py +++ b/modules/societegenerale/sgpe/pages.py @@ -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)