Unverified Commit 1ed666c5 authored by mathieui's avatar mathieui

Fix core import in main

parent 8484f9e3
Pipeline #1697 passed with stages
in 2 minutes and 41 seconds
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment