summaryrefslogtreecommitdiff
path: root/imdb-lookup
diff options
context:
space:
mode:
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 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)