From 5acab980254a16145d05adab48af5c934c4c7427 Mon Sep 17 00:00:00 2001 From: dumaresq Date: Tue, 19 Aug 2014 19:32:00 -0400 Subject: [PATCH] fixed hardcoded directory --- couchpotato/core/downloaders/putioDownload.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/couchpotato/core/downloaders/putioDownload.py b/couchpotato/core/downloaders/putioDownload.py index 4202e7bc..4eaa24f8 100644 --- a/couchpotato/core/downloaders/putioDownload.py +++ b/couchpotato/core/downloaders/putioDownload.py @@ -59,7 +59,7 @@ class Putiodownload(DownloaderBase): files = client.File.list() delete = self.conf('detele_file') downloaddir = self.conf('download_dir') - tempdownloaddir = '/export/nas/Downloads/incomplete' + tempdownloaddir = self.conf('tempdownload_dir') for f in files: if str(f.id) == str(kwargs.get('file_id')): # Need to read this in from somewhere @@ -111,6 +111,12 @@ config = [{ 'description': 'The Directory to download files to, does nothing if you don\'t select download', 'default': '/', }, + { + 'name': 'tempdownload_dir', + 'label': 'Temporary Download Directory', + 'description': 'The Temporary Directory to download files to, does nothing if you don\'t select download', + 'default': '/', + }, { 'name': 'manual', 'default': 0,