mirror of https://github.com/searx/searx
Minor fixes to satisfy the linter
This commit is contained in:
parent
d592159cc5
commit
148090df12
|
@ -8,7 +8,7 @@ Definitions`_.
|
||||||
https://developers.google.com/custom-search/docs/xml_results#WebSearch_Query_Parameter_Definitions
|
https://developers.google.com/custom-search/docs/xml_results#WebSearch_Query_Parameter_Definitions
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# pylint: disable=invalid-name, missing-function-docstring
|
# pylint: disable=invalid-name, missing-function-docstring, too-many-branches
|
||||||
|
|
||||||
from urllib.parse import urlencode
|
from urllib.parse import urlencode
|
||||||
from lxml import html
|
from lxml import html
|
||||||
|
|
|
@ -16,6 +16,7 @@ from lxml import html
|
||||||
from babel import Locale
|
from babel import Locale
|
||||||
from babel.localedata import locale_identifiers
|
from babel.localedata import locale_identifiers
|
||||||
|
|
||||||
|
from searx import logger
|
||||||
from searx.network import get
|
from searx.network import get
|
||||||
from searx.utils import extract_text, eval_xpath, match_language
|
from searx.utils import extract_text, eval_xpath, match_language
|
||||||
from searx.exceptions import (
|
from searx.exceptions import (
|
||||||
|
@ -23,6 +24,7 @@ from searx.exceptions import (
|
||||||
SearxEngineCaptchaException,
|
SearxEngineCaptchaException,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
logger = logger.getChild('startpage')
|
||||||
|
|
||||||
# about
|
# about
|
||||||
about = {
|
about = {
|
||||||
|
|
Loading…
Reference in New Issue