Fix core import in main
This commit is contained in:
parent
8484f9e3c5
commit
1ed666c5b5
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue