1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Bugfix in the metadata code

This commit is contained in:
echel0n 2014-03-10 18:32:00 -07:00
parent 88640b4af6
commit c9ddd633ee

View File

@ -251,7 +251,7 @@ class MediaBrowserMetadata(generic.GenericMetadata):
# check for title and id # check for title and id
try: 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) logger.log(u"Incomplete info for show with id " + str(show_obj.indexerid) + " on " + show_obj.indexer + ", skipping it", logger.ERROR)
return False return False
except indexer_exceptions.indexer_attributenotfound: except indexer_exceptions.indexer_attributenotfound: