summaryrefslogtreecommitdiff
path: root/imdb-lookup
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2014-11-22 18:03:35 +0100
committerYves Fischer <yvesf-git@xapek.org>2014-11-22 18:03:35 +0100
commit5ce5f9663939042380a858887b22f06e6283223e (patch)
tree1f144b51ad6d1f008b8a50eaec589296d1129650 /imdb-lookup
parent8bcc1923ec65d5c3fb216847b098f2e42159bea3 (diff)
downloadscripts-5ce5f9663939042380a858887b22f06e6283223e.tar.gz
scripts-5ce5f9663939042380a858887b22f06e6283223e.zip
urlencode
Diffstat (limited to 'imdb-lookup')
-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