summaryrefslogtreecommitdiff
path: root/searx/plugins
diff options
context:
space:
mode:
authorArtikusHG <artiomoleynic@gmail.com>2022-12-16 19:43:10 +0000
committerGitHub <noreply@github.com>2022-12-16 19:43:10 +0000
commit735e388cec91097cc95bfffd0e1a5e4c25e595ef (patch)
tree61aac219bb9d5d3ce91ce5214171c9170c28502c /searx/plugins
parent1f8f8c1e91040fd10bacdc473b8d5f97dda6424e (diff)
parent2a51c856722df19831c20ba455f74a33180a4ec8 (diff)
downloadsearxng-735e388cec91097cc95bfffd0e1a5e4c25e595ef.tar.gz
searxng-735e388cec91097cc95bfffd0e1a5e4c25e595ef.zip
Merge branch 'master' into fasttext
Diffstat (limited to 'searx/plugins')
-rw-r--r--searx/plugins/autodetect_search_language.py1
-rw-r--r--searx/plugins/limiter.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/searx/plugins/autodetect_search_language.py b/searx/plugins/autodetect_search_language.py
index 625f85373..026ca9b6f 100644
--- a/searx/plugins/autodetect_search_language.py
+++ b/searx/plugins/autodetect_search_language.py
@@ -71,7 +71,6 @@ import babel
from searx.utils import detect_language
from searx.languages import language_codes
-
name = gettext('Autodetect search language')
description = gettext('Automatically detect the query search language and switch to it.')
preference_section = 'general'
diff --git a/searx/plugins/limiter.py b/searx/plugins/limiter.py
index c11fd506b..b66a0805c 100644
--- a/searx/plugins/limiter.py
+++ b/searx/plugins/limiter.py
@@ -16,7 +16,7 @@ Enable the plugin in ``settings.yml``:
import re
from flask import request
-from searx.shared import redisdb
+from searx import redisdb
from searx.redislib import incr_sliding_window
name = "Request limiter"