mirror of
https://github.com/SickGear/SickGear.git
synced 2025-03-01 18:35:02 +00: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
1 changed files with 13 additions and 12 deletions
|
@ -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 a new issue