Merge branch 'develop_fixfail' of https://github.com/mano3m/CouchPotatoServer into mano3m-develop_fixfail

This commit is contained in:
Ruud
2012-08-24 16:42:12 +02:00
+1 -1
View File
@@ -122,7 +122,7 @@ class Sabnzbd(Downloader):
if slot['category'] == self.conf('category'):
log.debug('Found %s in SabNZBd history, which has %s', (slot['name'], slot['status']))
if slot['name'] == nzbname:
if slot['status'] == 'Failed' or 'fail' in slot['fail_message'].lower():
if slot['status'] == 'Failed' or slot['fail_message'].strip():
# Delete failed download
if self.conf('delete_failed', default = True):