mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 11:32:20 -05:00
Fix for nonetype being returned when trying to load data from TVDB Api for actors.
This commit is contained in:
parent
2ab436b764
commit
e62d5ad50c
@ -781,6 +781,7 @@ class Tvdb:
|
|||||||
actorsEt = self._getetsrc(self.config['url_actorsInfo'] % (sid))
|
actorsEt = self._getetsrc(self.config['url_actorsInfo'] % (sid))
|
||||||
|
|
||||||
cur_actors = Actors()
|
cur_actors = Actors()
|
||||||
|
if actorsEt:
|
||||||
for curActorItem in actorsEt["actor"]:
|
for curActorItem in actorsEt["actor"]:
|
||||||
curActor = Actor()
|
curActor = Actor()
|
||||||
for k, v in curActorItem.items():
|
for k, v in curActorItem.items():
|
||||||
|
Loading…
Reference in New Issue
Block a user