fix line which keeps user from running more than once Bitmessage instance

This commit is contained in:
Jonathan Warren 2014-01-12 19:50:44 -05:00
parent d150476e98
commit 6af92a5e09
2 changed files with 1 additions and 2 deletions

View File

@ -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'):

View File

@ -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)