From 22c4195c89d99b90e4b1885aaa9cc1323ec8ea4f Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Sun, 15 Mar 2015 12:13:24 +0100 Subject: [PATCH] [fix] request args --- searx/webapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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