1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-13 03:22:22 -05:00

Fix for show parsing errors to be displayed via debug logs now instead as a warning.

This commit is contained in:
echel0n 2014-07-11 00:59:05 -07:00
parent 933fad20c7
commit 0e3495d30f
2 changed files with 2 additions and 3 deletions

View File

@ -135,7 +135,6 @@ class NameParser(object):
break break
else: else:
time.sleep(0.05) time.sleep(0.05)
raise InvalidShowException( raise InvalidShowException(
"Unable to parse " + name.encode(sickbeard.SYS_ENCODING, 'xmlcharrefreplace')) "Unable to parse " + name.encode(sickbeard.SYS_ENCODING, 'xmlcharrefreplace'))

View File

@ -281,10 +281,10 @@ class GenericProvider:
myParser = NameParser(False, convert=True) myParser = NameParser(False, convert=True)
parse_result = myParser.parse(title) parse_result = myParser.parse(title)
except InvalidNameException: except InvalidNameException:
logger.log(u"Unable to parse the filename " + title + " into a valid episode", logger.WARNING) logger.log(u"Unable to parse the filename " + title + " into a valid episode", logger.DEBUG)
continue continue
except InvalidShowException: except InvalidShowException:
logger.log(u"Unable to parse the filename " + title + " into a valid show", logger.WARNING) logger.log(u"Unable to parse the filename " + title + " into a valid show", logger.DEBUG)
continue continue
showObj = parse_result.show showObj = parse_result.show