From 22b32364b6fbde2055d5c6ba261716677cf43223 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sat, 9 Nov 2013 21:41:03 +0100 Subject: [PATCH] Missing ) --- couchpotato/core/downloaders/rtorrent/main.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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