1
0
mirror of https://github.com/searx/searx synced 2024-11-25 19:30:01 +01:00

Merge pull request #2358 from dalf/fix-command

[fix] command engine: SearchQuery.query is str not bytes
This commit is contained in:
Alexandre Flament 2020-12-11 14:53:24 +01:00 committed by GitHub
commit 3c4a9c1188
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = []