diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-09-07 10:43:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-07 10:43:16 +0200 |
| commit | 9ef7f38e4f20bad5a76867aa3e5049a92bc58e59 (patch) | |
| tree | ee65fca81a86dce44f9090a92823f4b1a3425af3 /searx/engines/xpath.py | |
| parent | f869e73d2fdfc5a4e24e4a0bc1e4da28b81e261b (diff) | |
| parent | 82847df3001b1f8b7d78d36180c02479e45fb4e1 (diff) | |
Merge pull request #300 from return42/fix-engine-pylint
[fix] drop useless pylint: disable=undefined-variable
Diffstat (limited to 'searx/engines/xpath.py')
| -rw-r--r-- | searx/engines/xpath.py | 2 |
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): |