def __init__(self, host, port):
# associate the session to our app
local_app = SessionMiddleware(bottle.app())
bottle.run(
app=local_app,
server='cherrypy',
host=host,
port=port,
reloader=True
)