diff options
author | jazzzooo <38244149+jazzzooo@users.noreply.github.com> | 2023-09-12 15:25:34 +0000 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2023-09-12 20:57:05 +0200 |
commit | 54a3e03b45d062b6e817c3e6ba095218497aa5e6 (patch) | |
tree | 3d1f4bd624f2dc5d8c96cd96213ced1201bea2cc | |
parent | 64d9587ac82564a80193e4891256652f709a91b9 (diff) | |
download | searxng-54a3e03b45d062b6e817c3e6ba095218497aa5e6.tar.gz searxng-54a3e03b45d062b6e817c3e6ba095218497aa5e6.zip |
[fix] engine - openstreetmap currency matching
-rw-r--r-- | searx/engines/openstreetmap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/openstreetmap.py b/searx/engines/openstreetmap.py index 9ef535f6c..086a740bd 100644 --- a/searx/engines/openstreetmap.py +++ b/searx/engines/openstreetmap.py @@ -450,7 +450,7 @@ def get_key_label(key_name, lang): # https://taginfo.openstreetmap.org/keys/currency#values currency = key_name.split(':') if len(currency) > 1: - o = CURRENCIES['iso4217'].get(currency) + o = CURRENCIES['iso4217'].get(currency[1]) if o: return get_label(o, lang).lower() return currency |