fix line which keeps user from running more than once Bitmessage instance
This commit is contained in:
parent
d150476e98
commit
6af92a5e09
|
@ -163,7 +163,6 @@ class MySimpleXMLRPCRequestHandler(SimpleXMLRPCRequestHandler):
|
||||||
if addressInKeysFile != 'bitmessagesettings':
|
if addressInKeysFile != 'bitmessagesettings':
|
||||||
status, addressVersionNumber, streamNumber, hash01 = decodeAddress(
|
status, addressVersionNumber, streamNumber, hash01 = decodeAddress(
|
||||||
addressInKeysFile)
|
addressInKeysFile)
|
||||||
data # this is totally meaningless row?
|
|
||||||
if len(data) > 20:
|
if len(data) > 20:
|
||||||
data += ','
|
data += ','
|
||||||
if shared.config.has_option(addressInKeysFile, 'chan'):
|
if shared.config.has_option(addressInKeysFile, 'chan'):
|
||||||
|
|
|
@ -94,7 +94,7 @@ class Main:
|
||||||
def start(self, daemon=False):
|
def start(self, daemon=False):
|
||||||
shared.daemon = daemon
|
shared.daemon = daemon
|
||||||
# is the application already running? If yes then exit.
|
# is the application already running? If yes then exit.
|
||||||
singleton.singleinstance()
|
thisapp = singleton.singleinstance()
|
||||||
|
|
||||||
signal.signal(signal.SIGINT, helper_generic.signal_handler)
|
signal.signal(signal.SIGINT, helper_generic.signal_handler)
|
||||||
# signal.signal(signal.SIGINT, signal.SIG_DFL)
|
# signal.signal(signal.SIGINT, signal.SIG_DFL)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user