diff --git a/modules/ing/pages/account_history.py b/modules/ing/pages/account_history.py index b5795c99..79cfe873 100644 --- a/modules/ing/pages/account_history.py +++ b/modules/ing/pages/account_history.py @@ -24,7 +24,6 @@ from datetime import date from weboob.tools.browser import BasePage from weboob.capabilities.bank import Transaction -from weboob.capabilities.base import NotAvailable from weboob.tools.capabilities.bank.transactions import FrenchTransaction diff --git a/weboob/core/scheduler.py b/weboob/core/scheduler.py index 5236365a..3c19a50e 100644 --- a/weboob/core/scheduler.py +++ b/weboob/core/scheduler.py @@ -49,7 +49,7 @@ class RepeatedTimer(_Timer): while not self.finished.isSet(): try: self.function(*self.args, **self.kwargs) - except Exception, e: + except Exception: # do not stop timer because of an exception print get_backtrace() self.finished.wait(self.interval)