allow nzbget or sabnzbd to report failure.

This commit is contained in:
clinton-hall 2014-08-16 18:08:36 +09:30
commit 661947d46c
3 changed files with 9 additions and 5 deletions

View file

@ -251,7 +251,7 @@ class autoProcessMovie:
else:
logger.postprocess("FAILED DOWNLOAD DETECTED FOR %s" % (inputName), section)
if failureLink:
reportNzb(failureLink)
reportNzb(failureLink, clientAgent)
if delete_failed and os.path.isdir(dirName) and not os.path.dirname(dirName) == dirName:
logger.postprocess("Deleting failed files and folder %s" % dirName, section)