Move API code to api.py #609

Merged
Atheros1 merged 7 commits from master into master 2014-01-13 01:58:07 +01:00
2 changed files with 1 additions and 2 deletions
Showing only changes of commit 6af92a5e09 - Show all commits

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)