on master help sign in
[fix] command engine: SearchQuery.query is str not bytes
1e78186Alexandre Flament
searx/engines/command.py+1−1
@@ -80,7 +80,7 @@ def search(query, params):
80
80
81
81
82def _get_command_to_run(query):
82def _get_command_to_run(query):
83− params = shlex_split(query.decode('utf-8'))
83+ params = shlex_split(query)
84 __check_query_params(params)
84 __check_query_params(params)
85
85
86 cmd = []
86 cmd = []