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

@ -42,7 +42,7 @@ class Videoob(ConsoleApplication):
_id, backend_name = self.parse_id(_id)
names = (backend_name,) if backend_name is not None else None
self.load_backends(ICapVideo, names=names)
for backend, video in self.weboob.do('get_video', _id):
for backend, video in self.do('get_video', _id):
if video is None:
continue
self.format(video, backend.name)