From ee3c8d7110509c22efb614f3d3c87a72cbf5db3d Mon Sep 17 00:00:00 2001 From: Ruud Date: Wed, 25 Apr 2012 20:58:19 +0200 Subject: [PATCH] Manual download fix --- couchpotato/core/downloaders/base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/couchpotato/core/downloaders/base.py b/couchpotato/core/downloaders/base.py index 31eecfd7..710251aa 100644 --- a/couchpotato/core/downloaders/base.py +++ b/couchpotato/core/downloaders/base.py @@ -45,4 +45,5 @@ class Downloader(Plugin): return not self.isEnabled(manual) def isEnabled(self, manual): - return super(Downloader, self).isEnabled() and ((self.conf('manual', default = False) and manual) or manual is True) + d_manual = self.conf('manual', default = False) + return super(Downloader, self).isEnabled() and ((d_manual and manual) or (d_manual is False))