From 1e781863fab020480fcc4535d66e67eb59da2f7c Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Mon, 7 Dec 2020 10:43:42 +0100 Subject: [PATCH] [fix] command engine: SearchQuery.query is str not bytes see c225db45c8a4ab466bff049216f7e0189dc1b067 --- searx/engines/command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = []