mirror of
https://github.com/searxng/searxng.git
synced 2024-12-23 09:46:31 +00:00
Merge pull request #2358 from dalf/fix-command
[fix] command engine: SearchQuery.query is str not bytes
This commit is contained in:
commit
3c4a9c1188
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue