fix info lookup
This commit is contained in:
parent
e9b0e837f1
commit
348b77aa85
1 changed files with 2 additions and 2 deletions
|
@ -163,9 +163,9 @@ class Imdb(models.Model):
|
||||||
data['posters'] = self.posters(request)
|
data['posters'] = self.posters(request)
|
||||||
return data
|
return data
|
||||||
|
|
||||||
def likes(self):
|
def info(self, key):
|
||||||
movie_id = get_movie_id(imdb_id=self.imdb)
|
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):
|
def links(self):
|
||||||
links = []
|
links = []
|
||||||
|
|
Loading…
Reference in a new issue