From 6af92a5e09737631c09d9ca4937a26106523033b Mon Sep 17 00:00:00 2001 From: Jonathan Warren Date: Sun, 12 Jan 2014 19:50:44 -0500 Subject: [PATCH] fix line which keeps user from running more than once Bitmessage instance --- src/bitmessageapi.py | 1 - src/bitmessagemain.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bitmessageapi.py b/src/bitmessageapi.py index 7bcc6836..20a2e101 100644 --- a/src/bitmessageapi.py +++ b/src/bitmessageapi.py @@ -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'): diff --git a/src/bitmessagemain.py b/src/bitmessagemain.py index 06e2fdaa..3089b052 100755 --- a/src/bitmessagemain.py +++ b/src/bitmessagemain.py @@ -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)