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/locales.py | |
| 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/locales.py')
| -rw-r--r-- | searx/locales.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/locales.py b/searx/locales.py index 80defceb7..42d5854c2 100644 --- a/searx/locales.py +++ b/searx/locales.py @@ -57,7 +57,7 @@ def initialize_locales(directory): """Initialize global names :py:obj:`LOCALE_NAMES`, :py:obj:`UI_LOCALE_CODES` and :py:obj:`RTL_LOCALES`. """ - global LOCALE_NAMES, UI_LOCALE_CODES, RTL_LOCALES # pylint: disable=global-statement + global UI_LOCALE_CODES # pylint: disable=global-statement for dirname in sorted(os.listdir(directory)): # Based on https://flask-babel.tkte.ch/_modules/flask_babel.html#Babel.list_translations if not os.path.isdir( os.path.join(directory, dirname, 'LC_MESSAGES') ): |