From 4fd92a8631233734e7546b3b3fae1f0597b1b389 Mon Sep 17 00:00:00 2001 From: echel0n Date: Sat, 13 Dec 2014 02:32:08 -0800 Subject: [PATCH] Fixed issue with theTVDB IndexerAPI _parseActors method improperly parsing the data returned from the api causing an exception to occur during metadata refreshes. --- lib/tvdb_api/tvdb_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tvdb_api/tvdb_api.py b/lib/tvdb_api/tvdb_api.py index 115c31ec..e75ed872 100644 --- a/lib/tvdb_api/tvdb_api.py +++ b/lib/tvdb_api/tvdb_api.py @@ -797,9 +797,9 @@ class Tvdb: return cur_actors = Actors() - for curActorItem in actorsEt["actor"]: + for curActorItem in actorsEt["actor"].items(): curActor = Actor() - for k, v in curActorItem.items(): + for k, v in curActorItem: k = k.lower() if v is not None: if k == "image":