searxngRebrandZaclys/searxng_extra
Markus Heiser 8a07559ab5 [fix] update_languages.py: no excption on unknown locale & language
Fix exception handling of unknown locales and languages::

    ERROR: ca_ES_valencia --> [Errno 2] No such file or directory: 'local/py3/lib/python3.8/site-packages/babel/locale-data/ca_ES_valencia.dat'
    ERROR: languages['fil-PH'] --> {'name': None, 'english_name': None}
    ERROR: languages['nb-NO'] --> {'name': None, 'english_name': None}

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-01-01 17:31:38 +01:00
..
update [fix] update_languages.py: no excption on unknown locale & language 2022-01-01 17:31:38 +01:00
__init__.py SearXNG: searxng_extra 2021-10-02 17:30:39 +02:00
standalone_searx.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00