diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-09-06 18:05:46 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-09-06 18:05:46 +0200 |
commit | aecfb2300d2515ee5bb28058d4fb11b8fe5c3f04 (patch) | |
tree | f19342941a9e790d39d62553a830e83fea41e478 /searx/engines/duckduckgo_definitions.py | |
parent | 7b235a1c36b09cfe2c6b4c97c3b6dad77e51d5ae (diff) | |
download | searxng-aecfb2300d2515ee5bb28058d4fb11b8fe5c3f04.tar.gz searxng-aecfb2300d2515ee5bb28058d4fb11b8fe5c3f04.zip |
[mod] one logger per engine - drop obsolete logger.getChild
Remove the no longer needed `logger = logger.getChild(...)` from engines.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/engines/duckduckgo_definitions.py')
-rw-r--r-- | searx/engines/duckduckgo_definitions.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/searx/engines/duckduckgo_definitions.py b/searx/engines/duckduckgo_definitions.py index a9098de65..e35b55f74 100644 --- a/searx/engines/duckduckgo_definitions.py +++ b/searx/engines/duckduckgo_definitions.py @@ -9,15 +9,12 @@ import json from urllib.parse import urlencode, urlparse, urljoin from lxml import html -from searx import logger from searx.data import WIKIDATA_UNITS from searx.engines.duckduckgo import language_aliases from searx.engines.duckduckgo import _fetch_supported_languages, supported_languages_url # NOQA # pylint: disable=unused-import from searx.utils import extract_text, html_to_text, match_language, get_string_replaces_function from searx.external_urls import get_external_url, get_earth_coordinates_url, area_to_osm_zoom -logger = logger.getChild('duckduckgo_definitions') - # about about = { "website": 'https://duckduckgo.com/', |