mirror of
https://github.com/moparisthebest/SickRage
synced 2024-10-31 23:45:02 -04:00
Fixed issue with theTVDB IndexerAPI _parseActors method improperly parsing the data returned from the api causing an exception to occur during metadata refreshes.
This commit is contained in:
parent
2adfa81341
commit
4fd92a8631
@ -797,9 +797,9 @@ class Tvdb:
|
|||||||
return
|
return
|
||||||
|
|
||||||
cur_actors = Actors()
|
cur_actors = Actors()
|
||||||
for curActorItem in actorsEt["actor"]:
|
for curActorItem in actorsEt["actor"].items():
|
||||||
curActor = Actor()
|
curActor = Actor()
|
||||||
for k, v in curActorItem.items():
|
for k, v in curActorItem:
|
||||||
k = k.lower()
|
k = k.lower()
|
||||||
if v is not None:
|
if v is not None:
|
||||||
if k == "image":
|
if k == "image":
|
||||||
|
Loading…
Reference in New Issue
Block a user