2
0
mirror of https://github.com/ComradCollective/Comrad synced 2024-11-17 21:25:37 +00:00

removing second connection for now ...

This commit is contained in:
quadrismegistus 2020-08-18 16:00:14 +01:00
parent ceae6a4dca
commit 34e9b4a773
2 changed files with 6 additions and 6 deletions

View File

@ -57,8 +57,8 @@ logger.addHandler(handler)
logger.setLevel(logging.DEBUG)
def log(*args):
#with open('log.txt','a+') as of:
# of.write(' '.join([str(x) for x in args])+'\n')
# with open('log.txt','a+') as of:
# of.write(' '.join([str(x) for x in args])+'\n')
line = ' '.join(str(x) for x in args)
logger.debug(line)

View File

@ -46,10 +46,10 @@ class Api(object):
#self.connect()
self.app_storage = app_storage
# self.node = self.connect()
log('starting selfless daemon...')
self.selfless = Thread(target=start_selfless_thread)
self.selfless.daemon = True
self.selfless.start()
# log('starting selfless daemon...')
# self.selfless = Thread(target=start_selfless_thread)
# self.selfless.daemon = True
# self.selfless.start()
pass
def connect(self):