mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
[fix] unused globals removed
This commit is contained in:
@@ -10,7 +10,6 @@ accept_header = 'application/vnd.github.preview.text-match+json'
|
||||
|
||||
|
||||
def request(query, params):
|
||||
global search_url
|
||||
params['url'] = search_url.format(query=urlencode({'q': query}))
|
||||
params['headers']['Accept'] = accept_header
|
||||
return params
|
||||
|
||||
Reference in New Issue
Block a user