on master help sign in
[mod] index rendering
commit599c801ecdc038db6ba7f6228f28f124b90b1ccd authorasciimoo <asciimoo@gmail.com> dateFri 7 Feb 2014, 03:15 (13 years ago) parent9eb31c0
1 file changed+3
searx/webapp.py+3
searx/webapp.py+3
@@ -103,6 +103,9 @@ def index():
103103 Supported outputs: html, json, csv, rss.
104104 """
105105
106+ if not request.args and not request.form:
107+ return render('index.html')
108+
106109 try:
107110 search = Search(request)
108111 except: