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/google_scholar.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/google_scholar.py')
-rw-r--r-- | searx/engines/google_scholar.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/searx/engines/google_scholar.py b/searx/engines/google_scholar.py index 8442a7bfa..5c7a0d9e9 100644 --- a/searx/engines/google_scholar.py +++ b/searx/engines/google_scholar.py @@ -14,7 +14,6 @@ Definitions`_. from urllib.parse import urlencode from datetime import datetime from lxml import html -from searx import logger from searx.utils import ( eval_xpath, @@ -53,8 +52,6 @@ use_locale_domain = True time_range_support = True safesearch = False -logger = logger.getChild('google scholar') - def time_range_url(params): """Returns a URL query component for a google-Scholar time range based on ``params['time_range']``. Google-Scholar does only support ranges in years. |