summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/poezio.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/poezio.py b/poezio/poezio.py
index 2544ef1a..05c8ceed 100644
--- a/poezio/poezio.py
+++ b/poezio/poezio.py
@@ -98,10 +98,10 @@ def main():
from poezio import roster
roster.create_roster()
- from poezio import core
+ from poezio.core.core import Core
signal.signal(signal.SIGINT, signal.SIG_IGN) # ignore ctrl-c
- cocore = core.Core()
+ cocore = Core()
signal.signal(signal.SIGUSR1, cocore.sigusr_handler) # reload the config
signal.signal(signal.SIGHUP, cocore.exit_from_signal)
signal.signal(signal.SIGTERM, cocore.exit_from_signal)