diff options
Diffstat (limited to 'searx/search/processors')
| -rw-r--r-- | searx/search/processors/online.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/search/processors/online.py b/searx/search/processors/online.py index 48e3a2e92..697533d8c 100644 --- a/searx/search/processors/online.py +++ b/searx/search/processors/online.py @@ -221,7 +221,7 @@ class OnlineProcessor(EngineProcessor): 'test': ['unique_results'], } - if getattr(self.engine, 'supported_languages', []): + if getattr(self.engine, 'traits', False): tests['lang_fr'] = { 'matrix': {'query': 'paris', 'lang': 'fr'}, 'result_container': ['not_empty', ('has_language', 'fr')], |