import cherrypy from cherrypy.process import wspbus from .web import Server from .imapplugin import ImapPlugin def run(): server=Server() imap=ImapPlugin( cherrypy.engine ) imap.subscribe() cherrypy.quickstart(server,"/", { })