mirror of
https://github.com/searxng/searxng.git
synced 2025-07-08 18:54:37 -04:00
[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
This commit is contained in:
parent
7448a18efa
commit
913dfbde3c
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user