summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2017-12-05 22:30:20 +0100
committerAdam Tauber <asciimoo@gmail.com>2017-12-05 22:30:20 +0100
commite060aedc16bb2b9e5c1ee3fc69a0e07a3576a80c (patch)
tree668f5eb13df2dc3ca242b272b0584a9a4d7f64e7 /searx/webapp.py
parent46fb0d860e35a45658969c4e2ac306a1072bc331 (diff)
downloadsearxng-e060aedc16bb2b9e5c1ee3fc69a0e07a3576a80c.tar.gz
searxng-e060aedc16bb2b9e5c1ee3fc69a0e07a3576a80c.zip
[enh] make custom oscar option configurable from url
Diffstat (limited to 'searx/webapp.py')
-rw-r--r--searx/webapp.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index abbbce950..ca4a3e101 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -376,6 +376,8 @@ def render(template_name, override_theme=None, **kwargs):
kwargs['unicode'] = unicode
+ kwargs['preferences'] = request.preferences
+
kwargs['scripts'] = set()
for plugin in request.user_plugins:
for script in plugin.js_dependencies: