summaryrefslogtreecommitdiff
path: root/searx/query.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2020-12-20 09:32:54 +0100
committerGitHub <noreply@github.com>2020-12-20 09:32:54 +0100
commit04447f8c1a32aa2d1a2209d0a120ce04435c1346 (patch)
tree7ae38f290f3c2d25547ca4de1c2cb2173e342856 /searx/query.py
parent35feb00a5b76ecebc0259f9ff09d6f62a9c3319a (diff)
parenteda8934f1548ed228d00a0196b61d35585ea11bc (diff)
Merge pull request #2398 from dalf/mod-search-query
Mod search query
Diffstat (limited to 'searx/query.py')
-rw-r--r--searx/query.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/query.py b/searx/query.py
index 422cd57b5..e61e24f2c 100644
--- a/searx/query.py
+++ b/searx/query.py
@@ -125,12 +125,12 @@ class RawTextQuery:
searx_query_part = True
engine_name = engine_shortcuts[prefix]
if engine_name in engines:
- self.enginerefs.append(EngineRef(engine_name, 'none', True))
+ self.enginerefs.append(EngineRef(engine_name, 'none'))
# check if prefix is equal with engine name
elif prefix in engines:
searx_query_part = True
- self.enginerefs.append(EngineRef(prefix, 'none', True))
+ self.enginerefs.append(EngineRef(prefix, 'none'))
# check if prefix is equal with categorie name
elif prefix in categories: