Browse Source

[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
Markus Heiser 5 days ago
parent
commit
913dfbde3c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      searx/data/currencies.py

+ 1 - 1
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)