Dont run twice if daemon too
This commit is contained in:
parent
e4edeaceb5
commit
2add3f6bc8
|
@ -45,6 +45,8 @@ from debug import logger
|
|||
import helper_bootstrap
|
||||
import helper_generic
|
||||
|
||||
# singleton lock instance
|
||||
thisapp = None
|
||||
|
||||
def connectToStream(streamNumber):
|
||||
shared.streamsInWhichIAmParticipating[streamNumber] = 'no data'
|
||||
|
@ -139,6 +141,8 @@ if shared.useVeryEasyProofOfWorkForTesting:
|
|||
|
||||
class Main:
|
||||
def start(self, daemon=False):
|
||||
global thisapp
|
||||
|
||||
_fixWinsock()
|
||||
|
||||
shared.daemon = daemon
|
||||
|
|
Loading…
Reference in New Issue
Block a user