Bugfix in the metadata code

This commit is contained in:
echel0n 2014-03-10 18:32:00 -07:00
parent 88640b4af6
commit c9ddd633ee
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ class MediaBrowserMetadata(generic.GenericMetadata):
# check for title and id
try:
if getattr(myShow, 'seriesname', None) is not None or getattr(myShow, 'id', None) is not None:
if getattr(myShow, 'seriesname', None) is None or getattr(myShow, 'id', None) is None:
logger.log(u"Incomplete info for show with id " + str(show_obj.indexerid) + " on " + show_obj.indexer + ", skipping it", logger.ERROR)
return False
except indexer_exceptions.indexer_attributenotfound: