From 599c801ecdc038db6ba7f6228f28f124b90b1ccd Mon Sep 17 00:00:00 2001 From: asciimoo Date: Fri, 7 Feb 2014 03:15:34 +0100 Subject: [PATCH] [mod] index rendering --- searx/webapp.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/searx/webapp.py b/searx/webapp.py index 5d5ac218..8c3cfe4a 100644 --- 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: