continue if corrupt.

This commit is contained in:
Clinton Hall 2014-07-05 00:05:39 +09:30
commit eb9ae85a9e

View file

@ -55,6 +55,7 @@ def external_script(outputDestination, torrentName, torrentLabel, settings):
else:
logger.info("Corrupt video files found. Deleting.", "USERSCRIPT")
os.unlink(file)
continue
num_files = num_files + 1
if nzbtomedia.USER_SCRIPT_RUNONCE == 1 and num_files > 1: # we have already run once, so just continue to get number of files.
continue