From 2a49b6e5bf153e0ea4295ef13295eed98e235860 Mon Sep 17 00:00:00 2001 From: Julien Veyssier Date: Sat, 30 Mar 2013 20:34:05 +0100 Subject: [PATCH] [cineoob] filmography and casting restricted to movie/person backend --- weboob/applications/cineoob/cineoob.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weboob/applications/cineoob/cineoob.py b/weboob/applications/cineoob/cineoob.py index d5d9bb10..c89fdaf0 100644 --- a/weboob/applications/cineoob/cineoob.py +++ b/weboob/applications/cineoob/cineoob.py @@ -369,7 +369,7 @@ class Cineoob(ReplApplication): print >>sys.stderr, 'Movie not found: %s' % id return 3 - for backend, person in self.do('iter_movie_persons', movie.id, role, caps=ICapCinema): + for backend, person in self.do('iter_movie_persons', movie.id, role, backends=movie.backend, caps=ICapCinema): self.cached_format(person) self.flush() @@ -387,7 +387,7 @@ class Cineoob(ReplApplication): print >>sys.stderr, 'Person not found: %s' % id return 3 - for backend, movie in self.do('iter_person_movies', person.id, role, caps=ICapCinema): + for backend, movie in self.do('iter_person_movies', person.id, role, backends=person.backend, caps=ICapCinema): self.cached_format(movie) self.flush()