summaryrefslogtreecommitdiff
path: root/searx/engines
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines')
-rw-r--r--searx/engines/xpath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/xpath.py b/searx/engines/xpath.py
index 3a8d32a6a..a7a5e57ab 100644
--- a/searx/engines/xpath.py
+++ b/searx/engines/xpath.py
@@ -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):