From f8cc8acfec6bcaa54d23df444768da759e25dfc5 Mon Sep 17 00:00:00 2001 From: Dean Gardiner Date: Sun, 30 Mar 2014 21:54:44 +1300 Subject: [PATCH] Fixed release files bug in renamer --- couchpotato/core/plugins/renamer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/couchpotato/core/plugins/renamer.py b/couchpotato/core/plugins/renamer.py index 2d2e94a..1e83140 100644 --- a/couchpotato/core/plugins/renamer.py +++ b/couchpotato/core/plugins/renamer.py @@ -190,6 +190,8 @@ class Renamer(Plugin): release_files = release_download.get('files', []) if release_files: + files = release_files + # If there is only one file in the torrent, the downloader did not create a subfolder if len(release_files) == 1: folder = media_folder