From 850f75e1608edcedcc7b6a4a640b4a715fbd2122 Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Thu, 2 Apr 2015 19:19:29 +0200 Subject: [PATCH] fix actor images: don't need the thumb prefix after all --- resources/lib/WriteKodiDB.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/WriteKodiDB.py b/resources/lib/WriteKodiDB.py index 54cd13bf..6ac1167a 100644 --- a/resources/lib/WriteKodiDB.py +++ b/resources/lib/WriteKodiDB.py @@ -1277,7 +1277,7 @@ class WriteKodiDB(): Name = person.get("Name") Role = person.get("Role") actorid = None - Thumb = "" + downloadUtils.imageUrl(person.get("Id"), "Primary", 0, 400, 400) + "" + Thumb = downloadUtils.imageUrl(person.get("Id"), "Primary", 0, 400, 400) cursor.execute("SELECT idActor as actorid FROM actors WHERE strActor = ?",(Name,)) result = cursor.fetchone() if result != None: