qna-basic: changed syntax of not in (from a suggestion)

This commit is contained in:
dymik739 2022-10-31 22:35:09 +02:00
parent cf2223f40a
commit 6e544331a2
1 changed files with 1 additions and 1 deletions

View File

@ -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