1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 12:10:11 +01:00

[fix] engine - openstreetmap currency rendering

This commit is contained in:
jazzzooo 2023-09-13 08:33:43 +00:00 committed by Markus Heiser
parent 976b3e21c4
commit b2fd6304bf

View File

@ -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(':') + ['*']: