From ef60db55634a1f0cf9ac19791c21241e02d9f984 Mon Sep 17 00:00:00 2001 From: Clinton Hall Date: Fri, 1 Mar 2013 15:17:08 -0800 Subject: [PATCH] Fix call to is_sample --- TorrentToMedia.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TorrentToMedia.py b/TorrentToMedia.py index 1cd2236a..6dc5cacd 100755 --- a/TorrentToMedia.py +++ b/TorrentToMedia.py @@ -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: