diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2025-05-29 07:26:13 +0200 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarIT.de> | 2025-05-29 07:37:59 +0200 |
| commit | 913dfbde3cc02c6775cb8d2cb547a679ddce540f (patch) | |
| tree | 13702b8a001046b128275a12b44876a56a4cfe36 /searx/data | |
| parent | 7448a18efa1d47ee1424db935ba8463fdf2809b3 (diff) | |
[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
Diffstat (limited to 'searx/data')
| -rw-r--r-- | searx/data/currencies.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |