set status if extract = 0. fixes #314

This commit is contained in:
clinton-hall 2014-05-05 19:38:21 +09:30
commit 5927ce9121

View file

@ -181,6 +181,9 @@ def processTorrent(inputDirectory, inputName, inputCategory, inputHash, inputID,
if numVideos > 0:
logger.info("Found %s media files in %s" % (numVideos, outputDestination))
status = 0
elif extract != 1:
logger.info("Found no media files in %s. Sending to %s to process" % (outputDestination, sectionName))
status = 0
else:
logger.warning("Found no media files in %s" % outputDestination)