def start_server(root): cherrypy.root = root newrelic.agent.initialize() server.start(server=SimpleWSGIServer())
def start_server(root): cherrypy.root = root if config.get('tg.fancy_exception', False): server.start(server=SimpleWSGIServer()) else: server.start()