diff --git a/headphones.py b/headphones.py index 64d2ab32..0dc8a3c6 100755 --- a/headphones.py +++ b/headphones.py @@ -106,9 +106,8 @@ def serverstart(): cherrypy.engine.subscribe('start', browser, priority=90) logger.log(u"Starting Headphones on port:" + settings['http_port']) - root = webServer.Headphones("data/interfaces/default/") - cherrypy.quickstart(root, config = conf) - + cherrypy.quickstart(webServer.Headphones(), config = conf) + if __name__ == '__main__': serverstart()