Try next on failed download from provider
This commit is contained in:
1 parent
2b49a4b5d6
commit
e53a9ed30a
6 files changed
+12
-10
No files matched your search
@@ -239,7 +239,7 @@ class Searcher(Plugin):
|
||||
filedata = None
|
||||
if data.get('download') and (ismethod(data.get('download')) or isfunction(data.get('download'))):
|
||||
filedata = data.get('download')(url = data.get('url'), nzb_id = data.get('id'))
|
||||
if filedata is 'try_next':
|
||||
if filedata == 'try_next':
|
||||
return filedata
|
||||
|
||||
successful = fireEvent('download', data = data, movie = movie, manual = manual, filedata = filedata, single = True)
|
||||
|
||||
Reference in new issue
Block a user