From 54a3e03b45d062b6e817c3e6ba095218497aa5e6 Mon Sep 17 00:00:00 2001 From: jazzzooo <38244149+jazzzooo@users.noreply.github.com> Date: Tue, 12 Sep 2023 15:25:34 +0000 Subject: [PATCH] [fix] engine - openstreetmap currency matching --- searx/engines/openstreetmap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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