Fix for nonetype being returned when trying to load data from TVDB Api for actors.

This commit is contained in:
echel0n 2014-06-01 22:21:09 -07:00
parent 2ab436b764
commit e62d5ad50c

View file

@ -781,6 +781,7 @@ class Tvdb:
actorsEt = self._getetsrc(self.config['url_actorsInfo'] % (sid))
cur_actors = Actors()
if actorsEt:
for curActorItem in actorsEt["actor"]:
curActor = Actor()
for k, v in curActorItem.items():