summaryrefslogtreecommitdiff
path: root/searx/search/checker/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/search/checker/__main__.py')
-rw-r--r--searx/search/checker/__main__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/searx/search/checker/__main__.py b/searx/search/checker/__main__.py
index 0d7d1b8ed..7f6de8f8b 100644
--- a/searx/search/checker/__main__.py
+++ b/searx/search/checker/__main__.py
@@ -8,7 +8,7 @@ import logging
import searx.search
import searx.search.checker
-from searx.search import processors
+from searx.search import PROCESSORS
from searx.engines import engine_shortcuts
@@ -41,13 +41,13 @@ def iter_processor(engine_name_list):
if len(engine_name_list) > 0:
for name in engine_name_list:
name = engine_shortcuts.get(name, name)
- processor = processors.get(name)
+ processor = PROCESSORS.get(name)
if processor is not None:
yield name, processor
else:
stdout.write(f'{BOLD_SEQ}Engine {name:30}{RESET_SEQ}{RED}Engine does not exist{RESET_SEQ}')
else:
- for name, processor in searx.search.processors.items():
+ for name, processor in searx.search.PROCESSORS.items():
yield name, processor