summaryrefslogtreecommitdiff
path: root/searx/plugins
diff options
context:
space:
mode:
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"