From c2b0277612e0d247d3050fe05a527cc5c7b22164 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Thu, 20 Sep 2018 12:07:50 -0500 Subject: [PATCH] work on sockets --- onionr/communicator2.py | 2 +- onionr/onionr.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/onionr/communicator2.py b/onionr/communicator2.py index 36b5794d..6716dcbe 100755 --- a/onionr/communicator2.py +++ b/onionr/communicator2.py @@ -479,7 +479,7 @@ class OnionrCommunicatorDaemon: def startSocket(self, startData): # Start a socket client - mySocket = onionrsockets.OnionrSockets(self._core, startData)) + mySocket = onionrsockets.OnionrSockets(self._core, startData) self.sockets[mySocket.socketID] = mySocket sockProgram = '' # Function for socket handler (application) diff --git a/onionr/onionr.py b/onionr/onionr.py index f7224ddc..8843aab9 100755 --- a/onionr/onionr.py +++ b/onionr/onionr.py @@ -218,7 +218,7 @@ class Onionr: 'getpasswd': self.printWebPassword, 'get-passwd': self.printWebPassword, - 'chat': self.startChat(), + 'chat': self.startChat, 'friend': self.friendCmd }