From ff55fda6aa7344cb0d1afe020b8c9e66a937c946 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