mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 13:23:18 -07:00
Fix call to is_sample
This commit is contained in:
parent
140926efae
commit
ef60db5563
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ for dirpath, dirnames, filenames in os.walk(outputDestination):
|
|||
filePath = os.path.join(dirpath, file)
|
||||
fileExtention = os.path.splitext(file)[1]
|
||||
if fileExtention in mediaContainer: # If the file is a video file
|
||||
if is_sample(filePath, inputName):
|
||||
if is_sample(filePath, inputName, minSampleSize):
|
||||
Logger.debug("Removing sample file: %s", filePath)
|
||||
os.unlink(filePath) # remove samples
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue