diff options
| author | ArtikusHG <artiomoleynic@gmail.com> | 2022-12-16 19:43:10 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-16 19:43:10 +0000 |
| commit | 735e388cec91097cc95bfffd0e1a5e4c25e595ef (patch) | |
| tree | 61aac219bb9d5d3ce91ce5214171c9170c28502c /utils/searxng_check.py | |
| parent | 1f8f8c1e91040fd10bacdc473b8d5f97dda6424e (diff) | |
| parent | 2a51c856722df19831c20ba455f74a33180a4ec8 (diff) | |
Merge branch 'master' into fasttext
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) |