forked from Ponysearch/Ponysearch
Merge pull request #2358 from dalf/fix-command
[fix] command engine: SearchQuery.query is str not bytes
This commit is contained in:
commit
3c4a9c1188
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ def search(query, params):
|
||||||
|
|
||||||
|
|
||||||
def _get_command_to_run(query):
|
def _get_command_to_run(query):
|
||||||
params = shlex_split(query.decode('utf-8'))
|
params = shlex_split(query)
|
||||||
__check_query_params(params)
|
__check_query_params(params)
|
||||||
|
|
||||||
cmd = []
|
cmd = []
|
||||||
|
|
Loading…
Reference in a new issue