diff options
author | Yves Fischer <yvesf-git@xapek.org> | 2014-11-22 18:03:35 +0100 |
---|---|---|
committer | Yves Fischer <yvesf-git@xapek.org> | 2014-11-22 18:03:35 +0100 |
commit | 5ce5f9663939042380a858887b22f06e6283223e (patch) | |
tree | 1f144b51ad6d1f008b8a50eaec589296d1129650 /imdb-lookup | |
parent | 8bcc1923ec65d5c3fb216847b098f2e42159bea3 (diff) | |
download | scripts-5ce5f9663939042380a858887b22f06e6283223e.tar.gz scripts-5ce5f9663939042380a858887b22f06e6283223e.zip |
urlencode
Diffstat (limited to 'imdb-lookup')
-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 |