summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-06-04 18:23:30 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2021-06-09 18:08:23 +0200
commit2e5d823162c9078a3e248445662e35e9e6361c66 (patch)
tree518fcfe2d3a5e51be5157b014feca8686b3db4a7
parentc75425655fdadf9554b97ae0309a6181acd34ce3 (diff)
downloadsearxng-2e5d823162c9078a3e248445662e35e9e6361c66.tar.gz
searxng-2e5d823162c9078a3e248445662e35e9e6361c66.zip
[fix] searx/data/__init__.py: rename __init__ as __all__
-rw-r--r--searx/data/__init__.py14
1 files changed, 12 insertions, 2 deletions
diff --git a/searx/data/__init__.py b/searx/data/__init__.py
index b0e7d31d8..f566dafc2 100644
--- a/searx/data/__init__.py
+++ b/searx/data/__init__.py
@@ -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