summaryrefslogtreecommitdiffstats
path: root/pyload/remote/SocketBackend.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/remote/SocketBackend.py')
-rw-r--r--pyload/remote/SocketBackend.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/pyload/remote/SocketBackend.py b/pyload/remote/SocketBackend.py
index 6b88663f8..05b2d8425 100644
--- a/pyload/remote/SocketBackend.py
+++ b/pyload/remote/SocketBackend.py
@@ -4,22 +4,19 @@ import SocketServer
from pyload.manager.Remote import BackendBase
-class RequestHandler(SocketServer.BaseRequestHandler):
+class RequestHandler(SocketServer.BaseRequestHandler):
def setup(self):
pass
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)