diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2023-04-07 13:34:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-07 13:34:24 +0200 |
| commit | 393e14965acbf0c9a1942a249a55705be9881918 (patch) | |
| tree | 7695faab05ae377a241b0f9531b5faf93405b84c /searx/engines/__init__.py | |
| parent | 53c154e2b1f304cc624142dff7bde30120efc029 (diff) | |
| parent | 8f79dd7659a3d837108b402dcd482910d55b57d8 (diff) | |
Merge pull request #2326 from return42/ungrouped
[mod] clarify the difference of the default category and subgrouping
Diffstat (limited to 'searx/engines/__init__.py')
| -rw-r--r-- | searx/engines/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/engines/__init__.py b/searx/engines/__init__.py index c8e8e7241..c9026f96d 100644 --- a/searx/engines/__init__.py +++ b/searx/engines/__init__.py @@ -45,7 +45,7 @@ ENGINE_DEFAULT_ARGS = { "about": {}, } # set automatically when an engine does not have any tab category -OTHER_CATEGORY = 'other' +DEFAULT_CATEGORY = 'other' # Defaults for the namespace of an engine module, see :py:func:`load_engine` @@ -132,7 +132,7 @@ def load_engine(engine_data: dict) -> Optional[Engine]: set_loggers(engine, engine_name) if not any(cat in settings['categories_as_tabs'] for cat in engine.categories): - engine.categories.append(OTHER_CATEGORY) + engine.categories.append(DEFAULT_CATEGORY) return engine |