diff options
| author | Alexandre Flament <alex@al-f.net> | 2022-12-14 07:08:19 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-14 07:08:19 +0100 |
| commit | 9e9f57e48bbc3c07d49dad57bb851f59f1c7def8 (patch) | |
| tree | b38098d532b4279ad625523973a54830970bcb1b /utils/searxng_check.py | |
| parent | 966e9c3c5d435c473521c332e4ed464d2ff4187e (diff) | |
| parent | 3050e2b6e875ccfb0162e83075802467c527c7fe (diff) | |
Merge pull request #1954 from dalf/fix.redis.init.2
[fix] follow up of PR-1856
Diffstat (limited to 'utils/searxng_check.py')
| -rw-r--r-- | utils/searxng_check.py | 3 |
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) |