diff options
author | asciimoo <asciimoo@gmail.com> | 2014-02-07 03:15:34 +0100 |
---|---|---|
committer | asciimoo <asciimoo@gmail.com> | 2014-02-07 03:15:34 +0100 |
commit | 599c801ecdc038db6ba7f6228f28f124b90b1ccd (patch) | |
tree | a20a36648cd295780951938b7fcae04f048efff6 | |
parent | 9eb31c01868ee9d0cf7f5403cb1dd38364d5da6b (diff) | |
download | searxng-599c801ecdc038db6ba7f6228f28f124b90b1ccd.tar.gz searxng-599c801ecdc038db6ba7f6228f28f124b90b1ccd.zip |
[mod] index rendering
-rw-r--r-- | searx/webapp.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/searx/webapp.py b/searx/webapp.py index 5d5ac2187..8c3cfe4a7 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: |