From 80d26f5937dc13eccba563823b3ffa155d80bf7a Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Sun, 7 Dec 2014 23:17:41 +0100 Subject: fix typo --- imdb-lookup/imdbinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'imdb-lookup') diff --git a/imdb-lookup/imdbinfo.py b/imdb-lookup/imdbinfo.py index 2f5e106..5c88fc1 100755 --- a/imdb-lookup/imdbinfo.py +++ b/imdb-lookup/imdbinfo.py @@ -82,7 +82,7 @@ class TMDBCache(object): """Returns the title in selected locale or original title otherwise""" try: key = movie_id + "movies.alt_titles" - search = tmdb.Movies(movie_id).search.alternative_titles + search = tmdb.Movies(movie_id).alternative_titles titles = self._cache(key, search) alt_title = list(filter(lambda l: l["iso_3166_1"] == locale, titles["titles"])) -- cgit v1.2.1