diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-09-07 10:26:15 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-09-07 10:26:15 +0200 |
commit | cd033b5416a86a89920f1240595b7a2e7a9a35a0 (patch) | |
tree | 5690ba298771b93a06227abc18c0f7d91c0f3453 /searx/engines/peertube.py | |
parent | f869e73d2fdfc5a4e24e4a0bc1e4da28b81e261b (diff) | |
download | searxng-cd033b5416a86a89920f1240595b7a2e7a9a35a0.tar.gz searxng-cd033b5416a86a89920f1240595b7a2e7a9a35a0.zip |
[fix] drop useless pylint: disable=undefined-variable
Since 7b235a1 (see line 591) it is no longer needed to disable
'undefined-variable' for names defined in::
PYLINT_ADDITIONAL_BUILTINS_FOR_ENGINES
Suggested-by: @dalf https://github.com/searxng/searxng/issues/102#issuecomment-914068609
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/engines/peertube.py')
-rw-r--r-- | searx/engines/peertube.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/searx/engines/peertube.py b/searx/engines/peertube.py index 058065c03..f9cd50be1 100644 --- a/searx/engines/peertube.py +++ b/searx/engines/peertube.py @@ -34,7 +34,6 @@ def request(query, params): search_url = sanitized_url + "/api/v1/search/videos/?pageno={pageno}&{query}" query_dict = {"search": query} language = params["language"].split("-")[0] - # pylint: disable=undefined-variable if "all" != language and language in supported_languages: query_dict["languageOneOf"] = language params["url"] = search_url.format( |