commit: 599c801ecdc038db6ba7f6228f28f124b90b1ccd parent: 9eb31c01868ee9d0cf7f5403cb1dd38364d5da6b Author: asciimoo <asciimoo@gmail.com> Date: Fri, 7 Feb 2014 03:15:34 +0100 [mod] index renderingDiffstat:
M | searx/webapp.py | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/searx/webapp.py b/searx/webapp.py @@ -103,6 +103,9 @@ def index(): Supported outputs: html, json, csv, rss. """ + if not request.args and not request.form: + return render('index.html') + try: search = Search(request) except: