my eye

Redirect null search to index

Committed 28e1aa

--- a/webint_search/__init__.py
+++ b/webint_search/__init__.py

         except web.BadRequest:
             return app.view.index()
         query = form.q
+        if not query:
+            raise web.SeeOther("/search")
 
         conversion = None
         units = {