mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-11 05:33:37 +00:00
Fix for metadata mede8er provider for error: tvdb_attributenotfound: Cannot find attribute '_actors'
This commit is contained in:
parent
2b0b0dd885
commit
561a12a735
1 changed files with 2 additions and 2 deletions
|
@ -197,7 +197,7 @@ class Mede8erMetadata(mediabrowser.MediaBrowserMetadata):
|
|||
|
||||
cast = etree.SubElement(tv_node, "cast")
|
||||
|
||||
if myShow["_actors"] != None:
|
||||
if getattr(myShow, '_actors', None) is not None:
|
||||
for actor in myShow['_actors']:
|
||||
cur_actor_name_text = actor['name']
|
||||
|
||||
|
@ -328,7 +328,7 @@ class Mede8erMetadata(mediabrowser.MediaBrowserMetadata):
|
|||
|
||||
cast = etree.SubElement(episode, "cast")
|
||||
|
||||
if myShow["_actors"] != None:
|
||||
if getattr(myShow, '_actors', None) is not None:
|
||||
for actor in myShow['_actors']:
|
||||
cur_actor_name_text = actor['name']
|
||||
|
||||
|
|
Loading…
Reference in a new issue