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:
parent
ceae6a4dca
commit
34e9b4a773
@ -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)
|
||||
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user