mirror of
https://github.com/searxng/searxng.git
synced 2024-08-22 22:20:42 +02: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):
|
def _get_command_to_run(query):
|
||||||
params = shlex_split(query.decode('utf-8'))
|
params = shlex_split(query)
|
||||||
__check_query_params(params)
|
__check_query_params(params)
|
||||||
|
|
||||||
cmd = []
|
cmd = []
|
||||||
|
Loading…
Reference in New Issue
Block a user