asciimoo пре 11 година
родитељ
комит
599c801ecd
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3
    0
      searx/webapp.py

+ 3
- 0
searx/webapp.py Прегледај датотеку

103
     Supported outputs: html, json, csv, rss.
103
     Supported outputs: html, json, csv, rss.
104
     """
104
     """
105
 
105
 
106
+    if not request.args and not request.form:
107
+        return render('index.html')
108
+
106
     try:
109
     try:
107
         search = Search(request)
110
         search = Search(request)
108
     except:
111
     except: