Browse Source

[rtorrent] Fixed connection verification test

pull/5954/head
Dean Gardiner 9 years ago
parent
commit
1e2b26d3bd
  1. 3
      couchpotato/core/downloaders/rtorrent_.py

3
couchpotato/core/downloaders/rtorrent_.py

@ -97,13 +97,12 @@ class rTorrent(DownloaderBase):
# Construct client # Construct client
self.rt = RTorrent( self.rt = RTorrent(
url, self.getAuth(), url, self.getAuth(),
verify_server=True,
verify_ssl=self.getVerifySsl() verify_ssl=self.getVerifySsl()
) )
self.error_msg = '' self.error_msg = ''
try: try:
self.rt._verify_conn() self.rt.connection.verify()
except AssertionError as e: except AssertionError as e:
self.error_msg = e.message self.error_msg = e.message
self.rt = None self.rt = None

Loading…
Cancel
Save