summaryrefslogtreecommitdiff
path: root/imdb-lookup/imdbinfo.py
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2014-12-22 20:19:17 +0100
committerYves Fischer <yvesf-git@xapek.org>2014-12-22 20:19:17 +0100
commit0b57473b80b4500fac9fb8d0a8aed07db6236a9a (patch)
tree697a63cb9963a2c99a21edc4faa59ef210ef02b4 /imdb-lookup/imdbinfo.py
parentd323bf246ecf9e8dcb312ac08d91b3c5b5e996f0 (diff)
downloadscripts-0b57473b80b4500fac9fb8d0a8aed07db6236a9a.tar.gz
scripts-0b57473b80b4500fac9fb8d0a8aed07db6236a9a.zip
urlencode
Diffstat (limited to 'imdb-lookup/imdbinfo.py')
-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 be6edad..6ad2191 100755
--- a/imdb-lookup/imdbinfo.py
+++ b/imdb-lookup/imdbinfo.py
@@ -15,7 +15,7 @@ import hashlib
from io import BytesIO
from multiprocessing.dummy import Pool
from threading import Lock
-
+from urllib.parse import urlencode
try:
from PIL import Image, ImageFilter
import tmdbsimple as tmdb
@@ -335,7 +335,7 @@ def do_index(args, imdb_ids):
files = list(listFiles())
if not files:
files = [path]
- return files
+ return list(list(map(urlencode, files)))
def poster(imdb_id):
data = db.poster_low(imdb_id)