Added back migration code in 'searcher.download'
This commit is contained in:
1 parent
1c8fed5457
commit
dc73e5c58f
1 file changed
+3
-4
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user