From 1ed666c5b541eb7e1a294681790e09eac8cc0f5d Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 15 Oct 2018 19:40:02 +0200 Subject: [PATCH] Fix core import in main --- poezio/poezio.py | 4 ++-- 1 file 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)