aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/acit/__init__.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/acit/__init__.py b/src/acit/__init__.py
index 05dc260..18d9060 100644
--- a/src/acit/__init__.py
+++ b/src/acit/__init__.py
@@ -1,6 +1,5 @@
import cherrypy
-from cherrypy.process import wspbus
from .web import Server
@@ -12,8 +11,10 @@ def run():
cherrypy.engine
)
imap.subscribe()
- cherrypy.quickstart(server,"/",
- {
- })
+ cherrypy.quickstart(server)
+
+
+if __name__=="__main__":
+ run()