From b971167ced9623c038188ae7bf5a8085147bc35d Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Fri, 11 Nov 2022 21:58:32 +0100 Subject: move searx.shared.redisdb to searx.redisdb --- utils/searxng_check.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'utils/searxng_check.py') diff --git a/utils/searxng_check.py b/utils/searxng_check.py index bd2d60288..dca4f1cda 100644 --- a/utils/searxng_check.py +++ b/utils/searxng_check.py @@ -26,8 +26,7 @@ if os.path.isfile(OLD_SETTING): )) warnings.warn(msg, DeprecationWarning) -from searx.shared import redisdb -from searx import get_setting +from searx import redisdb, get_setting if not redisdb.initialize(): warnings.warn("can't connect to redis DB at: %s" % get_setting('redis.url'), RuntimeWarning, stacklevel=2) -- cgit v1.2.3