From 1e2b26d3bddb842f351408e8c42c604f90c23101 Mon Sep 17 00:00:00 2001 From: Dean Gardiner Date: Sun, 17 Jan 2016 12:55:01 +1300 Subject: [PATCH] [rtorrent] Fixed connection verification test --- couchpotato/core/downloaders/rtorrent_.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/couchpotato/core/downloaders/rtorrent_.py b/couchpotato/core/downloaders/rtorrent_.py index cb43a88..d55c5c4 100644 --- a/couchpotato/core/downloaders/rtorrent_.py +++ b/couchpotato/core/downloaders/rtorrent_.py @@ -97,13 +97,12 @@ class rTorrent(DownloaderBase): # Construct client self.rt = RTorrent( url, self.getAuth(), - verify_server=True, verify_ssl=self.getVerifySsl() ) self.error_msg = '' try: - self.rt._verify_conn() + self.rt.connection.verify() except AssertionError as e: self.error_msg = e.message self.rt = None