summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2020-12-07 10:43:42 +0100
committerAlexandre Flament <alex@al-f.net>2020-12-07 10:43:42 +0100
commit1e781863fab020480fcc4535d66e67eb59da2f7c (patch)
tree45bda521de18da461abf647dbf7e6784dab90411 /searx
parentcdceec1cbb2ca894572396e0a68c2d09b0769231 (diff)
downloadsearxng-1e781863fab020480fcc4535d66e67eb59da2f7c.tar.gz
searxng-1e781863fab020480fcc4535d66e67eb59da2f7c.zip
[fix] command engine: SearchQuery.query is str not bytes
see c225db45c8a4ab466bff049216f7e0189dc1b067
Diffstat (limited to 'searx')
-rw-r--r--searx/engines/command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/command.py b/searx/engines/command.py
index 08ee5da06..0268d52eb 100644
--- a/searx/engines/command.py
+++ b/searx/engines/command.py
@@ -80,7 +80,7 @@ def search(query, params):
def _get_command_to_run(query):
- params = shlex_split(query.decode('utf-8'))
+ params = shlex_split(query)
__check_query_params(params)
cmd = []