diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-09-17 11:36:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-17 11:36:51 +0200 |
| commit | 0d9959e649c9625c3264382698b49ec6b99096f0 (patch) | |
| tree | 3588e22e5ccd11389e5c5dc3169ca87d4f59237b /searx/search | |
| parent | 8905607d1c6975146c258d6afcd685272216cef8 (diff) | |
| parent | 443bf35e09ce27d07c18c01d455886e85ead53f9 (diff) | |
Merge pull request #325 from searxng/dependabot/pip/master/pylint-2.11.1
Bump pylint from 2.10.2 to 2.11.1
Diffstat (limited to 'searx/search')
| -rw-r--r-- | searx/search/processors/online_currency.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/searx/search/processors/online_currency.py b/searx/search/processors/online_currency.py index 3213a11e5..4e5c57264 100644 --- a/searx/search/processors/online_currency.py +++ b/searx/search/processors/online_currency.py @@ -18,7 +18,6 @@ def normalize_name(name): return unicodedata.normalize('NFKD', name).lower() def name_to_iso4217(name): - global CURRENCIES # pylint: disable=global-statement name = normalize_name(name) currency = CURRENCIES['names'].get(name, [name]) if isinstance(currency, str): @@ -26,7 +25,6 @@ def name_to_iso4217(name): return currency[0] def iso4217_to_name(iso4217, language): - global CURRENCIES # pylint: disable=global-statement return CURRENCIES['iso4217'].get(iso4217, {}).get(language, iso4217) class OnlineCurrencyProcessor(OnlineProcessor): |