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':
|
||||
status, addressVersionNumber, streamNumber, hash01 = decodeAddress(
|
||||
addressInKeysFile)
|
||||
data # this is totally meaningless row?
|
||||
if len(data) > 20:
|
||||
data += ','
|
||||
if shared.config.has_option(addressInKeysFile, 'chan'):
|
||||
|
|
|
@ -94,7 +94,7 @@ class Main:
|
|||
def start(self, daemon=False):
|
||||
shared.daemon = daemon
|
||||
# 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, signal.SIG_DFL)
|
||||
|
|
Loading…
Reference in New Issue
Block a user