diff --git a/DeleteSamples.py b/DeleteSamples.py index 434ff433..e53d458f 100755 --- a/DeleteSamples.py +++ b/DeleteSamples.py @@ -43,7 +43,7 @@ def is_sample(filePath, inputName, maxSampleSize, SampleIDs): # Ignore 'sample' in files unless 'sample' in Torrent Name for ident in SampleIDs: if ident.lower() in filePath.lower() and not ident.lower() in inputName.lower(): - return True + return True # Return False if none of these were met. return False diff --git a/autoProcess/nzbToMediaUtil.py b/autoProcess/nzbToMediaUtil.py index c6745373..74396dd3 100644 --- a/autoProcess/nzbToMediaUtil.py +++ b/autoProcess/nzbToMediaUtil.py @@ -170,7 +170,7 @@ def is_sample(filePath, inputName, minSampleSize, SampleIDs): # Ignore 'sample' in files unless 'sample' in Torrent Name for ident in SampleIDs: if ident.lower() in filePath.lower() and not ident.lower() in inputName.lower(): - return True + return True # Return False if none of these were met. return False