From 3e17eb09910df3d133e80ee9f2cd90c6569428da Mon Sep 17 00:00:00 2001 From: Nicolas Duhamel Date: Mon, 11 Apr 2011 14:39:55 +0200 Subject: [PATCH] little fix --- weboob/applications/videoob/videoob.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weboob/applications/videoob/videoob.py b/weboob/applications/videoob/videoob.py index dbb5db1a..a6fcd046 100644 --- a/weboob/applications/videoob/videoob.py +++ b/weboob/applications/videoob/videoob.py @@ -282,7 +282,7 @@ class Videoob(ReplApplication): path = final_parse [1:] if working_backend in [b.NAME for b in self.enabled_backends]: - if working_backend in [b.NAME for b in self.weboob. iter_backends(caps=ICapCollection)]: + if working_backend in [b.NAME for b in self.weboob.iter_backends(caps=ICapCollection)]: backend = [b for b in self.enabled_backends if b.NAME == working_backend][0] else: print >>sys.stderr, "Error backend %s not implement Collection" % working_backend @@ -313,7 +313,7 @@ class Videoob(ReplApplication): offs = len(mline) - len(text) if len(self.working_dir) == 0: - tmp = [b.NAME for b in self.weboob. iter_backends(caps=ICapCollection)] + tmp = [b.NAME for b in self.weboob.iter_backends(caps=ICapCollection)] else: backend = [b for b in self.enabled_backends if b.NAME == self.working_dir[0]][0] tmp = [rep for rep in backend.iter_resources(self.working_dir[1:])]