diff --git a/modules/cmso/pages.py b/modules/cmso/pages.py index c4cfa66e..08f92713 100644 --- a/modules/cmso/pages.py +++ b/modules/cmso/pages.py @@ -104,6 +104,9 @@ class TransactionsPage(BasePage): yy = d.year date = datetime.date(yy, mm, dd) + else: + self.logger.error('Unable to parse date %r' % date) + continue t.parse(date, re.sub(r'[ ]+', ' ', raw)) t.amount = Decimal(div.xpath('.//span')[-1].text.strip().replace(' ', '').replace(',', ''))