diff options
| author | Alexandre Flament <alex@al-f.net> | 2020-11-03 11:35:53 +0100 |
|---|---|---|
| committer | Alexandre Flament <alex@al-f.net> | 2020-11-03 11:35:53 +0100 |
| commit | 58d72f26925d56e22330c54be03c3dcbee0c4135 (patch) | |
| tree | 542d18955c74ddfb1989811b72d4a699a5795ade /searx/engines | |
| parent | d7f21484eebc54c57729b27e5bd19b8dafd7d15a (diff) | |
[mod] pylint: minor code change to allow pylint globally
This commit is only a step, it doesn't fix all the issues reported by pylint
Diffstat (limited to 'searx/engines')
| -rw-r--r-- | searx/engines/qwant.py | 2 | ||||
| -rw-r--r-- | searx/engines/xpath.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/searx/engines/qwant.py b/searx/engines/qwant.py index 98460604c..c909ce11b 100644 --- a/searx/engines/qwant.py +++ b/searx/engines/qwant.py @@ -17,7 +17,7 @@ from searx.utils import html_to_text, match_language # engine dependent config -categories = None +categories = [] paging = True language_support = True supported_languages_url = 'https://qwant.com/region' diff --git a/searx/engines/xpath.py b/searx/engines/xpath.py index 81c2747fb..a569d9160 100644 --- a/searx/engines/xpath.py +++ b/searx/engines/xpath.py @@ -7,6 +7,7 @@ url_xpath = None content_xpath = None title_xpath = None thumbnail_xpath = False +categories = [] paging = False suggestion_xpath = '' results_xpath = '' |