1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -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
else:
time.sleep(0.05)
raise InvalidShowException(
"Unable to parse " + name.encode(sickbeard.SYS_ENCODING, 'xmlcharrefreplace'))

View File

@ -281,10 +281,10 @@ class GenericProvider:
myParser = NameParser(False, convert=True)
parse_result = myParser.parse(title)
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
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
showObj = parse_result.show