diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-05-29 19:53:46 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-05-29 19:53:46 +0200 |
commit | 91a4b6bca46968324d76284d041d4bfc82c5a4fe (patch) | |
tree | bacece9dbe1e8834b081644e80a046dddce1534b /module/remote/SocketServer.py | |
parent | translation example added (diff) | |
download | pyload-91a4b6bca46968324d76284d041d4bfc82c5a4fe.tar.xz |
requestobject and working interface to the core
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() |