diff options
Diffstat (limited to 'utils/searxng_check.py')
-rw-r--r-- | utils/searxng_check.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/searxng_check.py b/utils/searxng_check.py index 39e774340..bd2d60288 100644 --- a/utils/searxng_check.py +++ b/utils/searxng_check.py @@ -29,6 +29,6 @@ if os.path.isfile(OLD_SETTING): from searx.shared import redisdb from searx import get_setting -if not redisdb.init(): +if not redisdb.initialize(): warnings.warn("can't connect to redis DB at: %s" % get_setting('redis.url'), RuntimeWarning, stacklevel=2) warnings.warn("--> no bot protection without redis DB", RuntimeWarning, stacklevel=2) |