mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -07:00
Fixed a crash caused by a typo
This commit is contained in:
parent
27b568b6ad
commit
15262b639d
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ def main(inputDirectory, inputName, inputCategory, inputHash, inputID):
|
||||||
continue # This file has not been recently moved or created, skip it
|
continue # This file has not been recently moved or created, skip it
|
||||||
|
|
||||||
if not (inputCategory == cpsCategory or inputCategory == sbCategory): #process all for non-video categories.
|
if not (inputCategory == cpsCategory or inputCategory == sbCategory): #process all for non-video categories.
|
||||||
Logger.info("MAIN: Found file %s for category %s", filepath, inputCategory)
|
Logger.info("MAIN: Found file %s for category %s", filePath, inputCategory)
|
||||||
copy_link(filePath, targetDirectory, useLink, outputDestination)
|
copy_link(filePath, targetDirectory, useLink, outputDestination)
|
||||||
elif fileExtension in mediaContainer: # If the file is a video file
|
elif fileExtension in mediaContainer: # If the file is a video file
|
||||||
if is_sample(filePath, inputName, minSampleSize): # Ignore samples
|
if is_sample(filePath, inputName, minSampleSize): # Ignore samples
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue