[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:
Markus Heiser 2021-09-07 10:29:38 +02:00
parent cd033b5416
commit 82847df300
2 changed files with 2 additions and 2 deletions

View file

@ -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):