use self.do instead of self.weboob.do in console apps

This commit is contained in:
Christophe Benz 2010-08-12 16:44:42 +02:00
commit 7df5136b5f
10 changed files with 21 additions and 21 deletions

View file

@ -183,7 +183,7 @@ class Monboob(ConsoleApplication):
self.weboob.loop()
def process(self):
for backend, message in self.weboob.do('iter_new_messages'):
for backend, message in self.do('iter_new_messages'):
self.send_email(backend, message)
def send_email(self, backend, mail):