diff options
author | Alexandre Flament <alex@al-f.net> | 2021-09-06 22:54:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-06 22:54:27 +0200 |
commit | f869e73d2fdfc5a4e24e4a0bc1e4da28b81e261b (patch) | |
tree | 492502a1c8be7b3cf83c1ebdd28bc58673db0ac7 | |
parent | b57d776edb65665cb514d5f8197c6f1960c80412 (diff) | |
parent | ea60c0382776167e83952159b50534a8b3e3074c (diff) | |
download | searxng-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.py | 5 |
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 |