mirror of
https://github.com/searx/searx
synced 2024-11-23 02:15:24 +01:00
[fix] command engine: SearchQuery.query is str not bytes
see c225db45c8
This commit is contained in:
parent
cdceec1cbb
commit
1e781863fa
@ -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 = []
|
||||
|
Loading…
Reference in New Issue
Block a user