diff options
Diffstat (limited to 'pyload/remote/SocketBackend.py')
-rw-r--r-- | pyload/remote/SocketBackend.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pyload/remote/SocketBackend.py b/pyload/remote/SocketBackend.py index 6b88663f8..8b74d19ff 100644 --- a/pyload/remote/SocketBackend.py +++ b/pyload/remote/SocketBackend.py @@ -4,6 +4,7 @@ import SocketServer from pyload.manager.Remote import BackendBase + class RequestHandler(SocketServer.BaseRequestHandler): def setup(self): @@ -11,15 +12,13 @@ class RequestHandler(SocketServer.BaseRequestHandler): def handle(self): - print self.request.recv(1024) - class SocketBackend(BackendBase): def setup(self, host, port): - #local only + # local only self.server = SocketServer.ThreadingTCPServer(("localhost", port), RequestHandler) |