summaryrefslogtreecommitdiff
path: root/utils/searxng_check.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2022-11-11 21:58:32 +0100
committerAlexandre Flament <alex@al-f.net>2022-12-10 09:26:38 +0100
commitb971167ced9623c038188ae7bf5a8085147bc35d (patch)
treed82d7fb4bad9d67b048bce8985cc4a3f09268503 /utils/searxng_check.py
parent34e260f88f561cf26454fe72a10a3a403faf2ff3 (diff)
downloadsearxng-b971167ced9623c038188ae7bf5a8085147bc35d.tar.gz
searxng-b971167ced9623c038188ae7bf5a8085147bc35d.zip
move searx.shared.redisdb to searx.redisdb
Diffstat (limited to 'utils/searxng_check.py')
-rw-r--r--utils/searxng_check.py3
1 files changed, 1 insertions, 2 deletions
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)