From 5a1f05df8e4254b7ca54a477f16125a90adbcc44 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sun, 11 Nov 2012 21:47:02 +0100 Subject: [PATCH] Transmission, add folder name to download dir --- couchpotato/core/downloaders/transmission/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/couchpotato/core/downloaders/transmission/main.py b/couchpotato/core/downloaders/transmission/main.py index 1ad60d18..63c4c0e6 100644 --- a/couchpotato/core/downloaders/transmission/main.py +++ b/couchpotato/core/downloaders/transmission/main.py @@ -30,9 +30,10 @@ class Transmission(Downloader): return False # Set parameters for Transmission + folder_name = self.createFileName(data, filedata, movie)[:-len(data.get('type')) - 1] params = { 'paused': self.conf('paused', default = 0), - 'download-dir': self.conf('directory', default = '').rstrip(os.path.sep) + 'download-dir': os.path.join(self.conf('directory', default = ''), folder_name).rstrip(os.path.sep) } torrent_params = {