Merge pull request #299 from dalf/fix-osm-workaround

[fix] fix openstreetmap engine
This commit is contained in:
Alexandre Flament 2021-09-06 22:54:27 +02:00 committed by GitHub
commit f869e73d2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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