forked from zaclys/searxng
[fix] engine - openstreetmap currency rendering
This commit is contained in:
parent
a9d1119b8d
commit
c617961cb5
|
@ -453,7 +453,7 @@ def get_key_label(key_name, lang):
|
||||||
o = CURRENCIES['iso4217'].get(currency[1])
|
o = CURRENCIES['iso4217'].get(currency[1])
|
||||||
if o:
|
if o:
|
||||||
return get_label(o, lang).lower()
|
return get_label(o, lang).lower()
|
||||||
return currency
|
return currency[1]
|
||||||
|
|
||||||
labels = OSM_KEYS_TAGS['keys']
|
labels = OSM_KEYS_TAGS['keys']
|
||||||
for k in key_name.split(':') + ['*']:
|
for k in key_name.split(':') + ['*']:
|
||||||
|
|
Loading…
Reference in New Issue