diff options
-rwxr-xr-x | imdb-lookup/imdbinfo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/imdb-lookup/imdbinfo.py b/imdb-lookup/imdbinfo.py index bf01fa0..26129b8 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 urlencode + from urllib.parse import quote as urlencode except: - from urllib import urlencode + from urllib import quote as urlencode try: import tmdbsimple as tmdb |