Add nzbname for requiredwords log
This commit is contained in:
1 parent
4711e09f91
commit
a4c9af24f2
1 file changed
+1
-1
@@ -230,7 +230,7 @@ class Searcher(Plugin):
|
|||||||
required_words = [x.strip().lower() for x in self.conf('required_words').lower().split(',')]
|
required_words = [x.strip().lower() for x in self.conf('required_words').lower().split(',')]
|
||||||
|
|
||||||
if self.conf('required_words') and not list(set(nzb_words) & set(required_words)):
|
if self.conf('required_words') and not list(set(nzb_words) & set(required_words)):
|
||||||
log.info("NZB doesn't contain any of the required words.")
|
log.info("Wrong: Required word missing: %s" % nzb['name'])
|
||||||
return False
|
return False
|
||||||
|
|
||||||
ignored_words = [x.strip().lower() for x in self.conf('ignored_words').split(',')]
|
ignored_words = [x.strip().lower() for x in self.conf('ignored_words').split(',')]
|
||||||
|
|||||||
Reference in new issue
Block a user