qna-basic: changed syntax of not in (from a suggestion)
This commit is contained in:
parent
cf2223f40a
commit
6e544331a2
|
@ -12,7 +12,7 @@ for file in os.listdir(self.path + "db/"):
|
||||||
for wordset in criteria["trigger_lists"]:
|
for wordset in criteria["trigger_lists"]:
|
||||||
all_words_in = True
|
all_words_in = True
|
||||||
for word in wordset:
|
for word in wordset:
|
||||||
if not word in msg:
|
if word not in msg:
|
||||||
all_words_in = False
|
all_words_in = False
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue