mirror of https://github.com/searxng/searxng.git
Merge pull request #299 from dalf/fix-osm-workaround
[fix] fix openstreetmap engine
This commit is contained in:
commit
f869e73d2f
|
@ -439,3 +439,8 @@ def get_key_label(key_name, lang):
|
||||||
if labels is None:
|
if labels is None:
|
||||||
return None
|
return None
|
||||||
return get_label(labels, lang)
|
return get_label(labels, lang)
|
||||||
|
|
||||||
|
|
||||||
|
def init(_):
|
||||||
|
import searx.engines.wikidata # pylint: disable=import-outside-toplevel
|
||||||
|
searx.engines.wikidata.logger = logger
|
||||||
|
|
Loading…
Reference in New Issue