From 0b57473b80b4500fac9fb8d0a8aed07db6236a9a Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Mon, 22 Dec 2014 20:19:17 +0100 Subject: urlencode --- imdb-lookup/imdbinfo.py | 4 ++-- 1 file 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) -- cgit v1.2.1