[fix] command engine: SearchQuery.query is str not bytes
see c225db45c8a4ab466bff049216f7e0189dc1b067
commit1e781863fab020480fcc4535d66e67eb59da2f7c
authorAlexandre Flament <alex@al-f.net>
dateMon 7 Dec 2020, 10:43 (6 years ago)
parentcdceec1
searx/engines/command.py+1−1
@@ -80,7 +80,7 @@ def search(query, params):
8080
8181
8282def _get_command_to_run(query):
83− params = shlex_split(query.decode('utf-8'))
83+ params = shlex_split(query)
8484 __check_query_params(params)
8585
8686 cmd = []