summaryrefslogtreecommitdiffstats
path: root/pyload/remote/thriftbackend/Socket.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/remote/thriftbackend/Socket.py')
-rw-r--r--pyload/remote/thriftbackend/Socket.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pyload/remote/thriftbackend/Socket.py b/pyload/remote/thriftbackend/Socket.py
index 4dd66e368..3d2435a92 100644
--- a/pyload/remote/thriftbackend/Socket.py
+++ b/pyload/remote/thriftbackend/Socket.py
@@ -10,6 +10,7 @@ from thrift.transport.TSocket import TSocket, TServerSocket, TTransportException
WantReadError = Exception #: overwritten when ssl is used
+
class SecureSocketConnection(object):
def __init__(self, connection):
@@ -48,6 +49,7 @@ class SecureSocketConnection(object):
sleep(0.1)
return self.recv(buff)
+
class Socket(TSocket):
def __init__(self, host='localhost', port=7228, ssl=False):