Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
DoroWolf authored Mar 14, 2024
1 parent 582102b commit b9d20f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/wolframalpha/check.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
unsafe_word_list = [
"ip",
"geoip",
"location"
"location",
]

unsafe_prompt_list = [
Expand All @@ -15,7 +15,7 @@
async def secret_check(query):
query = query.lower()
for prompt in unsafe_prompt_list:
if prompt in query.lower():
if prompt in query:
return True

for word in unsafe_word_list:
Expand Down

0 comments on commit b9d20f0

Please sign in to comment.