aboutsummaryrefslogtreecommitdiffstats
path: root/src/acit
diff options
context:
space:
mode:
Diffstat (limited to 'src/acit')
-rw-r--r--src/acit/__init__.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/acit/__init__.py b/src/acit/__init__.py
index 7149003..05dc260 100644
--- a/src/acit/__init__.py
+++ b/src/acit/__init__.py
@@ -1,13 +1,19 @@
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,"/",
- {
- })
+ {
+ })