forked from Archives/searxng
Merge pull request #2358 from dalf/fix-command
[fix] command engine: SearchQuery.query is str not bytes
This commit is contained in:
commit
3c4a9c1188
@ -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