on master help sign in
Minor fixes to satisfy the linter
commit148090df12f9e76fca2b9fbe29333bc920f72736 authorNoémi Ványi <sitbackandwait@gmail.com> dateFri 21 Jan 2022, 17:50 (5 years ago) parentd592159
2 files changed+3−1
searx/engines/google.py+1−1 searx/engines/startpage.py+2
searx/engines/google.py+1−1
@@ -8,7 +8,7 @@ Definitions`_.
88 https://developers.google.com/custom-search/docs/xml_results#WebSearch_Query_Parameter_Definitions
99"""
1010
11−# pylint: disable=invalid-name, missing-function-docstring
11+# pylint: disable=invalid-name, missing-function-docstring, too-many-branches
1212
1313from urllib.parse import urlencode
1414from lxml import html
searx/engines/startpage.py+2
@@ -16,6 +16,7 @@ from lxml import html
1616from babel import Locale
1717from babel.localedata import locale_identifiers
1818
19+from searx import logger
1920from searx.network import get
2021from searx.utils import extract_text, eval_xpath, match_language
2122from searx.exceptions import (
@@ -23,6 +24,7 @@ from searx.exceptions import (
2324 SearxEngineCaptchaException,
2425)
2526
27+logger = logger.getChild('startpage')
2628
2729# about
2830about = {