summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2017-01-02 12:06:04 +0100
committerAlexandre Flament <alex@al-f.net>2017-01-02 12:06:04 +0100
commit84a2c97a653d216690da0000f47582118709d2d7 (patch)
treec735600400102ff5d96477aaaf1809dfd987be01 /searx/webapp.py
parent3d8c9bab9618b4d0cceadfac888af4560f7d3c9b (diff)
downloadsearxng-84a2c97a653d216690da0000f47582118709d2d7.tar.gz
searxng-84a2c97a653d216690da0000f47582118709d2d7.zip
[mod] searx uses flask framework only in webapp.py. Make migration to another framework easier.
Diffstat (limited to 'searx/webapp.py')
-rw-r--r--searx/webapp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index 4fee6e588..58f9815f9 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -419,7 +419,7 @@ def index():
try:
search_query = get_search_query_from_webapp(request.preferences, request.form)
# search = Search(search_query) # without plugins
- search = SearchWithPlugins(search_query, request)
+ search = SearchWithPlugins(search_query, request.user_plugins, request)
result_container = search.search()
except:
request.errors.append(gettext('search error'))