Browse Source

[mod] index rendering

asciimoo 11 years ago
parent
commit
599c801ecd
1 changed files with 3 additions and 0 deletions
  1. 3 0
      searx/webapp.py

+ 3 - 0
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: