From 609267149ff5d2c67ac883f9543a0740cebdd255 Mon Sep 17 00:00:00 2001 From: swordfish6975 Date: Mon, 12 Aug 2019 14:04:29 +1000 Subject: [PATCH] Update deluge.py these checks dont play nice with docker --- couchpotato/core/downloaders/deluge.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/couchpotato/core/downloaders/deluge.py b/couchpotato/core/downloaders/deluge.py index aaca40e..788891b 100644 --- a/couchpotato/core/downloaders/deluge.py +++ b/couchpotato/core/downloaders/deluge.py @@ -80,17 +80,17 @@ class Deluge(DownloaderBase): } if self.conf('directory'): - if os.path.isdir(self.conf('directory')): + #if os.path.isdir(self.conf('directory')): options['download_location'] = self.conf('directory') - else: - log.error('Download directory from Deluge settings: %s doesn\'t exist', self.conf('directory')) + #else: + # log.error('Download directory from Deluge settings: %s doesn\'t exist', self.conf('directory')) if self.conf('completed_directory'): - if os.path.isdir(self.conf('completed_directory')): + #if os.path.isdir(self.conf('completed_directory')): options['move_completed'] = 1 options['move_completed_path'] = self.conf('completed_directory') - else: - log.error('Download directory from Deluge settings: %s doesn\'t exist', self.conf('directory')) + #else: + # log.error('Download directory from Deluge settings: %s doesn\'t exist', self.conf('directory')) if data.get('seed_ratio'): options['stop_at_ratio'] = 1