mirror of
https://github.com/searxng/searxng.git
synced 2025-07-30 16:42:22 +02:00
[fix] add 'categories' to PYLINT_ADDITIONAL_BUILTINS_FOR_ENGINES
androp no longer needed (see line 591 in 7b235a1):: # pylint: disable=undefined-variable Suggested-by: @dalf https://github.com/searxng/searxng/issues/102#issuecomment-914068609 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
cd033b5416
commit
82847df300
2 changed files with 2 additions and 2 deletions
|
@ -184,7 +184,7 @@ def response(resp):
|
|||
'''
|
||||
results = []
|
||||
dom = html.fromstring(resp.text)
|
||||
is_onion = 'onions' in categories # pylint: disable=undefined-variable
|
||||
is_onion = 'onions' in categories
|
||||
|
||||
if results_xpath:
|
||||
for result in eval_xpath_list(dom, results_xpath):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue