fix
This commit is contained in:
parent
0d6df688dc
commit
70156493ff
@ -17,6 +17,7 @@ import argparse
|
|||||||
|
|
||||||
class fenrirManager():
|
class fenrirManager():
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
self.initialized = False
|
||||||
cliArgs = self.handleArgs()
|
cliArgs = self.handleArgs()
|
||||||
if not cliArgs:
|
if not cliArgs:
|
||||||
return
|
return
|
||||||
@ -29,6 +30,7 @@ class fenrirManager():
|
|||||||
self.environment['runtime']['outputManager'].presentText(_("Start Fenrir"), soundIcon='ScreenReaderOn', interrupt=True)
|
self.environment['runtime']['outputManager'].presentText(_("Start Fenrir"), soundIcon='ScreenReaderOn', interrupt=True)
|
||||||
signal.signal(signal.SIGINT, self.captureSignal)
|
signal.signal(signal.SIGINT, self.captureSignal)
|
||||||
signal.signal(signal.SIGTERM, self.captureSignal)
|
signal.signal(signal.SIGTERM, self.captureSignal)
|
||||||
|
self.initialized = True
|
||||||
self.wasCommand = False
|
self.wasCommand = False
|
||||||
|
|
||||||
def handleArgs(self):
|
def handleArgs(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user