mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Fix for ignore_words
This commit is contained in:
parent
8d4d1a21cd
commit
f10dd3131f
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue