summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
authorNoémi Ványi <kvch@users.noreply.github.com>2020-07-28 21:28:55 +0200
committerGitHub <noreply@github.com>2020-07-28 21:28:55 +0200
commitcdc2f33972cedd953c93cff5e78da4455352cd84 (patch)
treef8a0ee99aa4d11e7e0617448d4b35db337de37a4 /searx/webapp.py
parent1185c06a8732101ad16bb3a8926ff0797ff2c6b9 (diff)
parent93ac4db312f0ec04bc631714a8fbc2054fe7578b (diff)
Merge pull request #2074 from asciimoo/external-plugins
This is a second proposal to accomplish plugin decoupling. I think #1938 is highly complicated and does much more than this feature requires, so here is an alternative implementation for the same feature. Please review it and let me know your opinion. This solution supports the use of any kind of standard python modules which implements the required attributes of a plugin, so new plugins can be installed by standard python tools (pip/setup.py). Downsides: - Localization of plugins name/description isn't possible - Plugins have to be updated manually ## What does this PR do? Implements external plugin extensibility. ## Why is this change important? Makes us able to decouple plugins from searx. ## Related issues #1938 #1716 #1878
Diffstat (limited to 'searx/webapp.py')
-rwxr-xr-xsearx/webapp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index 4b52c0cb3..2df96e198 100755
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -58,7 +58,7 @@ import flask_babel
from flask_babel import Babel, gettext, format_date, format_decimal
from flask.ctx import has_request_context
from flask.json import jsonify
-from searx import brand
+from searx import brand, static_path
from searx import settings, searx_dir, searx_debug
from searx.exceptions import SearxParameterException
from searx.engines import (