From c60ac5df2693486de6c6a8ce4aecc801d356075b Mon Sep 17 00:00:00 2001 From: Ruud Date: Tue, 18 Oct 2011 00:30:18 +0200 Subject: [PATCH] Properly disable blackhole downloading --- couchpotato/core/downloaders/blackhole/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/downloaders/blackhole/main.py b/couchpotato/core/downloaders/blackhole/main.py index a06441fb..e1850e48 100644 --- a/couchpotato/core/downloaders/blackhole/main.py +++ b/couchpotato/core/downloaders/blackhole/main.py @@ -10,7 +10,7 @@ class Blackhole(Downloader): type = ['nzb', 'torrent'] def download(self, data = {}, movie = {}): - if self.isDisabled() or not self.isCorrectType(data.get('type') or not self.conf('use_for') in ['both', data.get('type')]): + if self.isDisabled() or (not self.isCorrectType(data.get('type')) or (not self.conf('use_for') in ['both', data.get('type')])): return directory = self.conf('directory')