From f1ea8fa693eaebd0383b70bbee5f98128184e900 Mon Sep 17 00:00:00 2001 From: Dean Gardiner Date: Sat, 5 Apr 2014 21:13:28 +1300 Subject: [PATCH] [rtorrent] fixed how torrent status is determined --- couchpotato/core/downloaders/rtorrent_.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/couchpotato/core/downloaders/rtorrent_.py b/couchpotato/core/downloaders/rtorrent_.py index cccecb9..86c09a4 100644 --- a/couchpotato/core/downloaders/rtorrent_.py +++ b/couchpotato/core/downloaders/rtorrent_.py @@ -154,19 +154,13 @@ class rTorrent(DownloaderBase): return False def getTorrentStatus(self, torrent): - if torrent.hashing or torrent.hash_checking or torrent.message: - return 'busy' - if not torrent.complete: return 'busy' - if not torrent.open: - return 'completed' - - if torrent.state and torrent.active: + if torrent.open: return 'seeding' - return 'busy' + return 'completed' def getAllDownloadStatus(self, ids): log.debug('Checking rTorrent download status.')