summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjazzzooo <38244149+jazzzooo@users.noreply.github.com>2023-09-13 08:33:43 +0000
committerMarkus Heiser <markus.heiser@darmarIT.de>2023-09-13 10:56:52 +0200
commitb2fd6304bfe4c7e1855f6b934cfe83d7b22e89c9 (patch)
treeffa0da41f8b7f78f0c81227361f14580e1fc13b2
parent976b3e21c49919e500fe603c38c77704897d7803 (diff)
downloadsearxng-b2fd6304bfe4c7e1855f6b934cfe83d7b22e89c9.tar.gz
searxng-b2fd6304bfe4c7e1855f6b934cfe83d7b22e89c9.zip
[fix] engine - openstreetmap currency rendering
-rw-r--r--searx/engines/openstreetmap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/openstreetmap.py b/searx/engines/openstreetmap.py
index 086a740bd..650bfedd1 100644
--- a/searx/engines/openstreetmap.py
+++ b/searx/engines/openstreetmap.py
@@ -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(':') + ['*']: