From 2e5d823162c9078a3e248445662e35e9e6361c66 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Fri, 4 Jun 2021 18:23:30 +0200 Subject: [PATCH] [fix] searx/data/__init__.py: rename __init__ as __all__ --- searx/data/__init__.py | 14 ++++++++++++-- 1 file 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