[fix] searx/data/__init__.py: rename __init__ as __all__

This commit is contained in:
Alexandre Flament 2021-06-04 18:23:30 +02:00 committed by Noémi Ványi
parent 84dcd3af56
commit c64a8f837f

View File

@ -1,9 +1,19 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
import json
from pathlib import Path
__init__ = ['ENGINES_LANGUGAGES', 'CURRENCIES', 'USER_AGENTS', 'EXTERNAL_URLS', 'WIKIDATA_UNITS', 'EXTERNAL_BANGS',
'OSM_KEYS_TAGS', 'bangs_loader', 'ahmia_blacklist_loader']
__all__ = [
'ENGINES_LANGUAGES',
'CURRENCIES',
'USER_AGENTS',
'EXTERNAL_URLS',
'WIKIDATA_UNITS',
'EXTERNAL_BANGS',
'OSM_KEYS_TAGS',
'ahmia_blacklist_loader',
]
data_dir = Path(__file__).parent