summaryrefslogtreecommitdiff
path: root/searx/search
diff options
context:
space:
mode:
Diffstat (limited to 'searx/search')
-rw-r--r--searx/search/checker/background.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/search/checker/background.py b/searx/search/checker/background.py
index 5e9d23e00..7333e6ad0 100644
--- a/searx/search/checker/background.py
+++ b/searx/search/checker/background.py
@@ -10,7 +10,7 @@ from typing import Any, Dict, List, Literal, Optional, Tuple, TypedDict, Union
import redis.exceptions
-from searx import logger, settings, searx_debug
+from searx import logger, settings, sxng_debug
from searx.redisdb import client as get_redis_client
from searx.exceptions import SearxSettingsException
from searx.search.processors import PROCESSORS
@@ -139,7 +139,7 @@ def initialize():
signal.signal(signal.SIGUSR1, _signal_handler)
# special case when debug is activate
- if searx_debug and settings['checker']['off_when_debug']:
+ if sxng_debug and settings['checker']['off_when_debug']:
logger.info('debug mode: checker is disabled')
return