diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2024-03-11 07:45:08 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2024-03-11 14:55:38 +0100 |
commit | 8205f170ff983e5240d32dc17d7fdb526ebe5fe7 (patch) | |
tree | 536acda827bcdd1a6668714855e6f6c3ba6b68d4 /searx/engines/dictzone.py | |
parent | 707d6270c80426b54aeaa0ac0acd80ded45df533 (diff) | |
download | searxng-8205f170ff983e5240d32dc17d7fdb526ebe5fe7.tar.gz searxng-8205f170ff983e5240d32dc17d7fdb526ebe5fe7.zip |
[mod] pylint all engines without PYLINT_SEARXNG_DISABLE_OPTION
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/engines/dictzone.py')
-rw-r--r-- | searx/engines/dictzone.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/engines/dictzone.py b/searx/engines/dictzone.py index 126e75374..a6e1ae289 100644 --- a/searx/engines/dictzone.py +++ b/searx/engines/dictzone.py @@ -26,7 +26,7 @@ results_xpath = './/table[@id="r"]/tr' https_support = True -def request(query, params): +def request(query, params): # pylint: disable=unused-argument params['url'] = url.format(from_lang=params['from_lang'][2], to_lang=params['to_lang'][2], query=params['query']) return params @@ -40,7 +40,7 @@ def response(resp): for k, result in enumerate(eval_xpath(dom, results_xpath)[1:]): try: from_result, to_results_raw = eval_xpath(result, './td') - except: + except: # pylint: disable=bare-except continue to_results = [] |