From 4d5122094f65b5ccc6a11c0c36669c79d8fde525 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Fri, 9 Nov 2012 10:07:38 +0100 Subject: [PATCH] http: Start the CherryPy bus, and not just the server --- mopidy/frontends/http/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mopidy/frontends/http/__init__.py b/mopidy/frontends/http/__init__.py index 555758a8..f46ba1e2 100644 --- a/mopidy/frontends/http/__init__.py +++ b/mopidy/frontends/http/__init__.py @@ -37,12 +37,12 @@ class HttpFrontend(pykka.ThreadingActor): def on_start(self): logger.debug(u'Starting HTTP server') - cherrypy.server.start() + cherrypy.engine.start() logger.info(u'HTTP server running at %s', cherrypy.server.base()) def on_stop(self): - cherrypy.server.stop() + cherrypy.engine.stop() class Root(object):