mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 02:26:53 -07:00
set status if extract = 0. fixes #314
This commit is contained in:
parent
10926df587
commit
5927ce9121
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue