From 5ce5f9663939042380a858887b22f06e6283223e Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Sat, 22 Nov 2014 18:03:35 +0100 Subject: urlencode --- imdb-lookup/imdbinfo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'imdb-lookup') 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 -- cgit v1.2.1