summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-ximdb-lookup/imdbinfo.py4
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