summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2015-03-15 12:13:24 +0100
committerAdam Tauber <asciimoo@gmail.com>2015-03-15 12:13:24 +0100
commit22c4195c89d99b90e4b1885aaa9cc1323ec8ea4f (patch)
treef0019909c27d60b08db8fc186ef6ed3c2c8ef404
parentbd92b43449410fe1c598600b16b0f23c4f6c256e (diff)
downloadsearxng-22c4195c89d99b90e4b1885aaa9cc1323ec8ea4f.tar.gz
searxng-22c4195c89d99b90e4b1885aaa9cc1323ec8ea4f.zip
[fix] request args
-rw-r--r--searx/webapp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index e3c372e03..6e7c8e7da 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -309,7 +309,7 @@ def render(template_name, override_theme=None, **kwargs):
def pre_request():
# merge GET, POST vars
request.form = dict(request.form.items())
- for k, v in request.args:
+ for k, v in request.args.items():
if k not in request.form:
request.form[k] = v