Fix for ignore_words

This commit is contained in:
echel0n 2014-04-26 04:54:33 -07:00
parent 8d4d1a21cd
commit f10dd3131f
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ def filterBadReleases(name):
# if any of the bad strings are in the name then say no
if sickbeard.IGNORE_WORDS:
resultFilters + sickbeard.IGNORE_WORDS.split(',')
resultFilters.extend(sickbeard.IGNORE_WORDS.split(','))
filters = [re.compile('(^|[\W_])%s($|[\W_])' % filter.strip(), re.I) for filter in resultFilters]
for regfilter in filters:
if regfilter.search(name):