Browse Source

Added back migration code in 'searcher.download'

pull/2357/head
Dean Gardiner 12 years ago
parent
commit
dc73e5c58f
  1. 7
      couchpotato/core/media/_base/searcher/main.py

7
couchpotato/core/media/_base/searcher/main.py

@ -79,10 +79,9 @@ class Searcher(SearcherBase):
def download(self, data, media, manual = False):
# TODO what is this for?
#if not data.get('protocol'):
# data['protocol'] = data['type']
# data['type'] = 'movie'
if not data.get('protocol'):
data['protocol'] = data['type']
data['type'] = 'movie'
# Test to see if any downloaders are enabled for this type
downloader_enabled = fireEvent('download.enabled', manual, data, single = True)

Loading…
Cancel
Save