Merge branch 'refs/heads/develop' into nosql

This commit is contained in:
Ruud
2014-02-24 22:54:04 +01:00
18 changed files with 269 additions and 34 deletions
+7
View File
@@ -111,6 +111,13 @@ class RTorrent:
"Error: Minimum rTorrent version required is {0}".format(
MIN_RTORRENT_VERSION_STR)
def test_connection(self):
try:
self._verify_conn()
except:
return False
return True
def _meets_version_requirement(self):
return self._get_client_version_tuple() >= MIN_RTORRENT_VERSION