[cineoob] releases command improved

This commit is contained in:
Julien Veyssier 2013-03-09 03:50:32 +01:00
commit 8e796cc5c3
3 changed files with 35 additions and 10 deletions

View file

@ -17,7 +17,7 @@
# You should have received a copy of the GNU Affero General Public License
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from weboob.capabilities.cinema import ICapCinema, Person
from weboob.capabilities.cinema import ICapCinema, Person, Movie
from weboob.tools.backend import BaseBackend
from .browser import ImdbBrowser
@ -88,9 +88,9 @@ class ImdbBackend(BaseBackend, ICapCinema):
or 'roles' in fields or 'note' in fields\
or fields == None:
return self.get_movie(movie.id)
else:
return movie
return movie
OBJECTS = {
Person:fill_person
Person:fill_person,
Movie:fill_movie
}