From 4d4aa13e1f1d254e5d57c67973a7809d9c1e21f9 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Fri, 30 Dec 2022 18:28:02 +0100 Subject: [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 --- searx/webapp.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'searx/webapp.py') diff --git a/searx/webapp.py b/searx/webapp.py index fdd119128..bc2a50784 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -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, -- cgit v1.2.3-54-g00ecf