import cherrypy import pinximus pinximus.init_storage() pinximus.init_web() if __name__ == "__main__": # Start with the builtin server cherrypy.config.update({'server.log_to_screen': True}) cherrypy.server.start() else: # Start with no server (for mod_python or other WSGI HTTP servers). # You can also use this mode interactively with "import pinximus". try: cherrypy.server.start(initOnly=True, serverClass=None) except: cherrypy.log(traceback=True) raise