diff options
Diffstat (limited to 'searx/engines/__init__.py')
-rw-r--r-- | searx/engines/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/searx/engines/__init__.py b/searx/engines/__init__.py index 643b107a5..21a307501 100644 --- a/searx/engines/__init__.py +++ b/searx/engines/__init__.py @@ -69,17 +69,17 @@ def load_engine(engine_data): engine.categories = ['general'] if not hasattr(engine, 'language_support'): - # engine.language_support = False engine.language_support = True if not hasattr(engine, 'timeout'): - # engine.language_support = False engine.timeout = settings['server']['request_timeout'] if not hasattr(engine, 'shortcut'): - # engine.shortcut = ''' engine.shortcut = '' + if not hasattr(engine, 'disabled'): + engine.disabled = False + # checking required variables for engine_attr in dir(engine): if engine_attr.startswith('_'): |