mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
continue if corrupt.
This commit is contained in:
parent
d9512f3020
commit
eb9ae85a9e
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue