summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-09-06 22:54:27 +0200
committerGitHub <noreply@github.com>2021-09-06 22:54:27 +0200
commitf869e73d2fdfc5a4e24e4a0bc1e4da28b81e261b (patch)
tree492502a1c8be7b3cf83c1ebdd28bc58673db0ac7
parentb57d776edb65665cb514d5f8197c6f1960c80412 (diff)
parentea60c0382776167e83952159b50534a8b3e3074c (diff)
downloadsearxng-f869e73d2fdfc5a4e24e4a0bc1e4da28b81e261b.tar.gz
searxng-f869e73d2fdfc5a4e24e4a0bc1e4da28b81e261b.zip
Merge pull request #299 from dalf/fix-osm-workaround
[fix] fix openstreetmap engine
-rw-r--r--searx/engines/openstreetmap.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/searx/engines/openstreetmap.py b/searx/engines/openstreetmap.py
index 6920356c3..721769a25 100644
--- a/searx/engines/openstreetmap.py
+++ b/searx/engines/openstreetmap.py
@@ -439,3 +439,8 @@ def get_key_label(key_name, lang):
if labels is None:
return None
return get_label(labels, lang)
+
+
+def init(_):
+ import searx.engines.wikidata # pylint: disable=import-outside-toplevel
+ searx.engines.wikidata.logger = logger