1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-10 19:35:08 -05:00

Fix for show opt not in __init__ issues

This commit is contained in:
echel0n 2014-05-31 12:41:34 -07:00
parent ba2a44b1d1
commit 0ddcc3b58a

View File

@ -581,7 +581,7 @@ class TVShow(object):
logger.log(str(self.indexerid) + u": Creating episode object from " + file, logger.DEBUG) logger.log(str(self.indexerid) + u": Creating episode object from " + file, logger.DEBUG)
try: try:
myParser = NameParser(show=self, useIndexers=True) myParser = NameParser(showObj=self, useIndexers=True)
parse_result = myParser.parse(file) parse_result = myParser.parse(file)
except InvalidNameException: except InvalidNameException:
logger.log(u"Unable to parse the filename " + file + " into a valid episode", logger.ERROR) logger.log(u"Unable to parse the filename " + file + " into a valid episode", logger.ERROR)