diff options
Diffstat (limited to 'imdb-lookup/imdbinfo.py')
-rwxr-xr-x | imdb-lookup/imdbinfo.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/imdb-lookup/imdbinfo.py b/imdb-lookup/imdbinfo.py index 09b9c03..bf01fa0 100755 --- a/imdb-lookup/imdbinfo.py +++ b/imdb-lookup/imdbinfo.py @@ -11,9 +11,9 @@ import argparse import math import logging try: - from urllib.parse import quote_plus + from urllib.parse import urlencode except: - from urllib import quote_plus + from urllib import urlencode try: import tmdbsimple as tmdb @@ -183,7 +183,7 @@ def do_index(args, imdb_ids): 'input' : imdb_ids, 'tmdbcache' : Protector(tmdbcache), 'title' : 'Movie overview', - 'quote_plus' : quote_plus, + 'urlencode' : urlencode, } assert not os.path.exists("index.html"), "index.html already exists" stream = template.generate(mapping) |