1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 20:17:45 +01:00

[fix] command engine: SearchQuery.query is str not bytes

see c225db45c8
This commit is contained in:
Alexandre Flament 2020-12-07 10:43:42 +01:00
parent cdceec1cbb
commit 1e781863fa

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