summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-ximdb-lookup/imdbinfo.py2
1 files changed, 1 insertions, 1 deletions
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"]))