mirror of
https://github.com/SickGear/SickGear.git
synced 2025-03-15 09:07:43 +00:00
Fix for show parsing errors to be displayed via debug logs now instead as a warning.
This commit is contained in:
parent
933fad20c7
commit
0e3495d30f
2 changed files with 2 additions and 3 deletions
|
@ -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'))
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue