mirror of
https://github.com/searxng/searxng.git
synced 2025-12-24 04:30:02 +00:00
Drop Python 2 (4/n): SearchQuery.query is a str instead of bytes
This commit is contained in:
@@ -30,7 +30,7 @@ def request(query, params):
|
||||
# basic search
|
||||
offset = (params['pageno'] - 1) * number_of_results
|
||||
|
||||
string_args = dict(query=query.decode(),
|
||||
string_args = dict(query=query,
|
||||
offset=offset,
|
||||
number_of_results=number_of_results)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user