Default back to type on protocol. fix #2120

This commit is contained in:
Ruud committed 2013-09-05 21:46:00 +02:00
1 parent 7714504831
commit 117b952455
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -182,7 +182,7 @@ class Release(Plugin):
# Get matching provider
provider = fireEvent('provider.belongs_to', item['url'], provider = item.get('provider'), single = True)
if item['protocol'] != 'torrent_magnet':
if item.get('protocol', item.get('type')) != 'torrent_magnet':
item['download'] = provider.loginDownload if provider.urls.get('login') else provider.download
success = fireEvent('searcher.download', data = item, movie = rel.movie.to_dict({