Try next on failed download from provider

This commit is contained in:
Ruud committed 2012-11-15 18:30:45 +01:00
1 parent 2b49a4b5d6
commit e53a9ed30a
6 files changed
+12 -10

No files matched your search

+1 -1
View File
@@ -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)