summaryrefslogtreecommitdiff
path: root/searx/search/processors/online_currency.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/search/processors/online_currency.py')
-rw-r--r--searx/search/processors/online_currency.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/search/processors/online_currency.py b/searx/search/processors/online_currency.py
index 7d6811e6b..197e0e061 100644
--- a/searx/search/processors/online_currency.py
+++ b/searx/search/processors/online_currency.py
@@ -23,7 +23,7 @@ def name_to_iso4217(name):
currency = CURRENCIES['names'].get(name, [name])
if isinstance(currency, str):
return currency
- return currency[0]
+ return currency[-1]
def iso4217_to_name(iso4217, language):