From 348b77aa85764a1e640dd0dccb77644b916c23ea Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 27 Sep 2012 16:04:48 +0200 Subject: [PATCH] fix info lookup --- oxdata/movie/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oxdata/movie/models.py b/oxdata/movie/models.py index 308920b..194d5c8 100644 --- a/oxdata/movie/models.py +++ b/oxdata/movie/models.py @@ -163,9 +163,9 @@ class Imdb(models.Model): data['posters'] = self.posters(request) return data - def likes(self): + def info(self, key): movie_id = get_movie_id(imdb_id=self.imdb) - return movie_id and movie_id.likes() or 0 + return movie_id and movie_id.info(key) or 0 def links(self): links = []