diff options
Diffstat (limited to 'module/remote/SocketServer.py')
-rw-r--r-- | module/remote/SocketServer.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/remote/SocketServer.py b/module/remote/SocketServer.py index 1252547ad..9000c1c71 100644 --- a/module/remote/SocketServer.py +++ b/module/remote/SocketServer.py @@ -48,13 +48,13 @@ class SecondaryServerSocket(asynchat.async_chat): self.pycore = pycore self.handler = RequestHandler(pycore) self.set_terminator('\n') - self.data = [] + self.data = "" def collect_incoming_data(self, data): - self.data.append(data) + self.data += data def found_terminator(self): - rep = self.handler.proceed(self.data) + rep = self.handler.proceed(self.data) self.push(rep) - self.data = [] + self.data = "" #having fun with the data def handle_close(self): print "Disconnected from", self.getpeername() |