Use the actual SSLv3 constant in deluge transfer.py.

This commit is contained in:
Techmunk committed 2013-09-17 00:06:35 +10:00
1 parent 87f295be28
commit 9211e60804
1 file changed
+1 -1
+1 -1
View File
@@ -19,7 +19,7 @@ class DelugeTransfer(object):
self.disconnect() self.disconnect()
self.sock = socket.create_connection(hostport) self.sock = socket.create_connection(hostport)
self.conn = ssl.wrap_socket(self.sock, None, None, False, ssl.CERT_NONE, ssl.SSLv3) self.conn = ssl.wrap_socket(self.sock, None, None, False, ssl.CERT_NONE, ssl.PROTOCOL_SSLv3)
self.connected = True self.connected = True
def disconnect(self): def disconnect(self):