mirror of https://github.com/searxng/searxng.git
[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])
|
||||
if o:
|
||||
return get_label(o, lang).lower()
|
||||
return currency
|
||||
return currency[1]
|
||||
|
||||
labels = OSM_KEYS_TAGS['keys']
|
||||
for k in key_name.split(':') + ['*']:
|
||||
|
|
Loading…
Reference in New Issue