work on sockets

master
Kevin Froman 2018-09-20 12:07:50 -05:00
parent 55879b71a5
commit c2b0277612
2 changed files with 2 additions and 2 deletions

View File

@ -479,7 +479,7 @@ class OnionrCommunicatorDaemon:
def startSocket(self, startData): def startSocket(self, startData):
# Start a socket client # Start a socket client
mySocket = onionrsockets.OnionrSockets(self._core, startData)) mySocket = onionrsockets.OnionrSockets(self._core, startData)
self.sockets[mySocket.socketID] = mySocket self.sockets[mySocket.socketID] = mySocket
sockProgram = '' # Function for socket handler (application) sockProgram = '' # Function for socket handler (application)

View File

@ -218,7 +218,7 @@ class Onionr:
'getpasswd': self.printWebPassword, 'getpasswd': self.printWebPassword,
'get-passwd': self.printWebPassword, 'get-passwd': self.printWebPassword,
'chat': self.startChat(), 'chat': self.startChat,
'friend': self.friendCmd 'friend': self.friendCmd
} }