swordfish6975
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
libs/synchronousdeluge/transfer.py
|
|
@ -19,7 +19,7 @@ class DelugeTransfer(object): |
|
|
|
self.disconnect() |
|
|
|
|
|
|
|
self.sock = socket.create_connection(hostport) |
|
|
|
self.conn = ssl.wrap_socket(self.sock, None, None, False, ssl.CERT_NONE, ssl.PROTOCOL_TLSv1) |
|
|
|
self.conn = ssl.wrap_socket(self.sock, None, None, False, ssl.CERT_NONE, ssl.PROTOCOL_TLSv1_2) |
|
|
|
self.connected = True |
|
|
|
|
|
|
|
def disconnect(self): |
|
|
|