From 15262b639d285f86241c4f653bff38b9e1b67540 Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Sun, 26 May 2013 06:15:54 -0300 Subject: [PATCH] Fixed a crash caused by a typo --- TorrentToMedia.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TorrentToMedia.py b/TorrentToMedia.py index 5e6c735e..9faf9ada 100755 --- a/TorrentToMedia.py +++ b/TorrentToMedia.py @@ -79,7 +79,7 @@ def main(inputDirectory, inputName, inputCategory, inputHash, inputID): 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. - 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) elif fileExtension in mediaContainer: # If the file is a video file if is_sample(filePath, inputName, minSampleSize): # Ignore samples