1
0
mirror of https://github.com/searxng/searxng.git synced 2024-07-16 06:10:12 +02: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 = []