mirror of
https://github.com/searxng/searxng
synced 2024-11-18 15:26:25 +00:00
[fix] engine - openstreetmap currency rendering
This commit is contained in:
parent
976b3e21c4
commit
b2fd6304bf
@ -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
Block a user