mirror of
https://github.com/moparisthebest/SickRage
synced 2025-03-03 10:01:53 -05:00
Fix for ignore_words
This commit is contained in:
parent
8d4d1a21cd
commit
f10dd3131f
@ -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…
x
Reference in New Issue
Block a user