summaryrefslogtreecommitdiff
path: root/imdb-lookup
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2014-12-07 23:17:41 +0100
committerYves Fischer <yvesf-git@xapek.org>2014-12-07 23:17:41 +0100
commit80d26f5937dc13eccba563823b3ffa155d80bf7a (patch)
tree33b1795430af991080dfe3f410ff75cb7ac2212a /imdb-lookup
parentf6948a7aaf1dae32bca2a2e6a24ed6cc581c88f3 (diff)
downloadscripts-80d26f5937dc13eccba563823b3ffa155d80bf7a.tar.gz
scripts-80d26f5937dc13eccba563823b3ffa155d80bf7a.zip
fix typo
Diffstat (limited to 'imdb-lookup')
-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"]))