From 10a80e61f729e6caaf2ff061bd8e99e87ddb6714 Mon Sep 17 00:00:00 2001 From: Ruud Date: Thu, 17 May 2012 11:03:29 +0200 Subject: [PATCH] Don't blame sex and the city for being a stupid movie. fixes #280 --- couchpotato/core/plugins/searcher/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/plugins/searcher/main.py b/couchpotato/core/plugins/searcher/main.py index 254919f0..e2933462 100644 --- a/couchpotato/core/plugins/searcher/main.py +++ b/couchpotato/core/plugins/searcher/main.py @@ -230,7 +230,7 @@ class Searcher(Plugin): pron_tags = ['xxx', 'sex', 'anal', 'tits', 'fuck', 'porn', 'orgy', 'milf', 'boobs'] for p_tag in pron_tags: - if p_tag in movie_name: + if p_tag in nzb_words and p_tag not in movie_name: log.info('Wrong: %s, probably pr0n' % (nzb['name'])) return False