diff options
Diffstat (limited to 'searx/plugins/__init__.py')
-rw-r--r-- | searx/plugins/__init__.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/searx/plugins/__init__.py b/searx/plugins/__init__.py index a8e400c93..5ac3f447c 100644 --- a/searx/plugins/__init__.py +++ b/searx/plugins/__init__.py @@ -14,13 +14,15 @@ along with searx. If not, see < http://www.gnu.org/licenses/ >. (C) 2015 by Adam Tauber, <asciimoo@gmail.com> ''' -from searx.plugins import (self_ip, - search_on_category_select) -from searx import logger from sys import exit +from searx import logger logger = logger.getChild('plugins') +from searx.plugins import (https_rewrite, + self_ip, + search_on_category_select) + required_attrs = (('name', str), ('description', str), ('default_on', bool)) @@ -68,5 +70,6 @@ class PluginStore(): plugins = PluginStore() +plugins.register(https_rewrite) plugins.register(self_ip) plugins.register(search_on_category_select) |