mirror of https://github.com/searxng/searxng.git
[fix] searx/data/__init__.py: rename __init__ as __all__
This commit is contained in:
parent
c75425655f
commit
2e5d823162
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue