reverse-merge earlier changes to this file, they are no longer needed

This commit is contained in:
Ben Graham
2012-08-02 17:23:56 +10:00
parent 6c157a8c03
commit 18fcd4d15d
+2 -4
View File
@@ -25,7 +25,7 @@ import threading
import headphones import headphones
from headphones import logger, searcher, db, importer, mb, lastfm, librarysync, webfilters from headphones import logger, searcher, db, importer, mb, lastfm, librarysync
from headphones.helpers import checked, radio from headphones.helpers import checked, radio
import lib.simplejson as simplejson import lib.simplejson as simplejson
@@ -46,9 +46,7 @@ def serve_template(templatename, **kwargs):
return exceptions.html_error_template().render() return exceptions.html_error_template().render()
class WebInterface(object): class WebInterface(object):
_cp_filters = [webfilters.HTTPSFilter()]
def index(self): def index(self):
raise cherrypy.HTTPRedirect("home") raise cherrypy.HTTPRedirect("home")
index.exposed=True index.exposed=True