mirror of
https://github.com/searxng/searxng.git
synced 2025-12-23 12:10:00 +00:00
[mod] remove obsolete EngineTraits.supported_languages
All engines has been migrated from ``supported_languages`` to the ``fetch_traits`` concept. There is no longer a need for the obsolete code that implements the ``supported_languages`` concept. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
@@ -1317,11 +1317,6 @@ def config():
|
||||
continue
|
||||
|
||||
_languages = engine.traits.languages.keys()
|
||||
if engine.traits.data_type == 'supported_languages': # vintage / deprecated
|
||||
_languages = engine.traits.supported_languages
|
||||
if isinstance(_languages, dict):
|
||||
_languages = _languages.keys()
|
||||
|
||||
_engines.append(
|
||||
{
|
||||
'name': name,
|
||||
|
||||
Reference in New Issue
Block a user