fix search actor/actress in tmdb.py

This commit is contained in:
angedam
2018-08-07 16:07:47 +02:00
parent b3f4316a19
commit f44785740e
+1 -1
View File
@@ -450,7 +450,7 @@ def listado_tmdb(item):
else:
# Si es una búsqueda de personas se incluye en el título y fanart una película por la que es conocido
known_for = ob_tmdb.results[i].get("known_for")
type = item.search['type']
type=item.type
if known_for:
from random import randint
random = randint(0, len(known_for) - 1)