Browse Source

Properly disable blackhole downloading

pull/62/head
Ruud 14 years ago
parent
commit
c60ac5df26
  1. 2
      couchpotato/core/downloaders/blackhole/main.py

2
couchpotato/core/downloaders/blackhole/main.py

@ -10,7 +10,7 @@ class Blackhole(Downloader):
type = ['nzb', 'torrent'] type = ['nzb', 'torrent']
def download(self, data = {}, movie = {}): 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 return
directory = self.conf('directory') directory = self.conf('directory')

Loading…
Cancel
Save