diff options
author | Alexandre Flament <alex@al-f.net> | 2020-12-11 14:53:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-11 14:53:24 +0100 |
commit | 3c4a9c118844b8d436b1bdb2ece3cd6671371838 (patch) | |
tree | 208defae2cdd3ee1a3fc3eb25652dbc53fce78e7 | |
parent | 9f8ebeca4481344ce7bd773a4f64360da01f0a77 (diff) | |
parent | 1e781863fab020480fcc4535d66e67eb59da2f7c (diff) | |
download | searxng-3c4a9c118844b8d436b1bdb2ece3cd6671371838.tar.gz searxng-3c4a9c118844b8d436b1bdb2ece3cd6671371838.zip |
Merge pull request #2358 from dalf/fix-command
[fix] command engine: SearchQuery.query is str not bytes
-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 = [] |