diff options
author | Alexandre Flament <alex@al-f.net> | 2020-12-07 10:43:42 +0100 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2020-12-07 10:43:42 +0100 |
commit | 1e781863fab020480fcc4535d66e67eb59da2f7c (patch) | |
tree | 45bda521de18da461abf647dbf7e6784dab90411 /searx | |
parent | cdceec1cbb2ca894572396e0a68c2d09b0769231 (diff) | |
download | searxng-1e781863fab020480fcc4535d66e67eb59da2f7c.tar.gz searxng-1e781863fab020480fcc4535d66e67eb59da2f7c.zip |
[fix] command engine: SearchQuery.query is str not bytes
see c225db45c8a4ab466bff049216f7e0189dc1b067
Diffstat (limited to 'searx')
-rw-r--r-- | searx/engines/command.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/command.py b/searx/engines/command.py index 08ee5da06..0268d52eb 100644 --- a/searx/engines/command.py +++ b/searx/engines/command.py @@ -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 = [] |