[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 Markus Heiser
parent c75425655f
commit 2e5d823162

View file

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