work on sockets
This commit is contained in:
parent
55879b71a5
commit
c2b0277612
@ -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)
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user