forked from Icycoide/searxng
[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
1 changed files with 1 additions and 1 deletions
|
@ -51,5 +51,5 @@ class CurrenciesDB:
|
||||||
def iso4217_to_name(self, iso4217, language):
|
def iso4217_to_name(self, iso4217, language):
|
||||||
self.init()
|
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)
|
return iso4217_languages.get(language, iso4217)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue