This commit is contained in:
Romain Bignon 2013-08-07 18:36:19 +02:00
commit 847c91b1b3
2 changed files with 2 additions and 2 deletions

View file

@ -111,7 +111,7 @@ class AccountsPage(BasePage):
coming = self.find_amount(page, u"Opérations à venir")
accounting = self.find_amount(page, u"Solde comptable")
if account is not None and accounting + (coming or Decimal('0')) != balance:
if accounting is not None and accounting + (coming or Decimal('0')) != balance:
self.logger.warning('%s + %s != %s' % (accounting, coming, balance))
if accounting is not None: