From 913dfbde3cc02c6775cb8d2cb547a679ddce540f Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Thu, 29 May 2025 07:26:13 +0200 Subject: [PATCH] [fix] plugins: currency processor bug Fix C&P typo from https://github.com/searxng/searxng/pull/4836 Closes: https://github.com/searxng/searxng/issues/4861 --- searx/data/currencies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/data/currencies.py b/searx/data/currencies.py index a4f2901f0..0721037a1 100644 --- a/searx/data/currencies.py +++ b/searx/data/currencies.py @@ -51,5 +51,5 @@ class CurrenciesDB: def iso4217_to_name(self, iso4217, language): self.init() - iso4217_languages: dict = self.cache.get(key=iso4217, default={}, ctx=self.ctx_names) + iso4217_languages: dict = self.cache.get(key=iso4217, default={}, ctx=self.ctx_iso4217) return iso4217_languages.get(language, iso4217)