diff --git a/couchpotato/core/downloaders/rtorrent/main.py b/couchpotato/core/downloaders/rtorrent/main.py index c69d3003..a6319195 100755 --- a/couchpotato/core/downloaders/rtorrent/main.py +++ b/couchpotato/core/downloaders/rtorrent/main.py @@ -211,9 +211,7 @@ class rTorrent(Downloader): return False for file_item in torrent.get_files(): - os.unlink(os.path.join(torrent.directory, file_item.path) - - # Need a proper solution to remove the torrent folder, if the torrent has one; THE RPC DOESN'T SUPPORT IT! + os.unlink(os.path.join(torrent.directory, file_item.path)) torrent.erase() # just removes the torrent, doesn't delete data