mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-01 00:43:37 +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))
|
||||
|
||||
cur_actors = Actors()
|
||||
if actorsEt:
|
||||
for curActorItem in actorsEt["actor"]:
|
||||
curActor = Actor()
|
||||
for k, v in curActorItem.items():
|
||||
|
|
Loading…
Reference in a new issue