mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
[mod] pylint all engines without PYLINT_SEARXNG_DISABLE_OPTION
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
committed by
Markus Heiser
parent
707d6270c8
commit
8205f170ff
@@ -25,7 +25,7 @@ instance_index = 0
|
||||
|
||||
# do search-request
|
||||
def request(query, params):
|
||||
global instance_index
|
||||
global instance_index # pylint: disable=global-statement
|
||||
params['url'] = instance_urls[instance_index % len(instance_urls)]
|
||||
params['method'] = 'POST'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user