Consider try_next as failed

This commit is contained in:
mano3m
2013-12-27 19:09:39 +01:00
parent 16f8a1159f
commit 55483cf736
+2 -2
View File
@@ -241,13 +241,13 @@ class Release(Plugin):
'files': {}
}), manual = True)
if success:
if success == True:
db.expunge_all()
rel = db.query(Relea).filter_by(id = id).first() # Get release again @RuudBurger why do we need to get it again??
fireEvent('notify.frontend', type = 'release.manual_download', data = True, message = 'Successfully snatched "%s"' % item['name'])
return {
'success': success
'success': success == True
}
def download(self, data, media, manual = False):