From 847809df3b32b760d4baf7a4f854d6e80dda8ae5 Mon Sep 17 00:00:00 2001 From: Clinton Hall Date: Wed, 20 Feb 2013 20:10:36 -0800 Subject: [PATCH] fix logging information --- TorrentToMedia.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TorrentToMedia.py b/TorrentToMedia.py index 8619e2dd..c8284193 100755 --- a/TorrentToMedia.py +++ b/TorrentToMedia.py @@ -36,9 +36,9 @@ def category_search(inputDirectory, inputCategory, root, inputName, categories): Logger.error("SEARCH: Could not identify category in the directory structure. Please check downloader settings. Exiting") sys.exit(-1) if categorySearch2[1] in categories: - Logger.debug("SEARCH: Found Category: %s in directory structure", categorySearch[1]) + Logger.debug("SEARCH: Found Category: %s in directory structure", categorySearch2[1]) if not inputCategory: - Logger.info("SEARCH: Determined Category to be: %s", categorySearch[1]) + Logger.info("SEARCH: Determined Category to be: %s", categorySearch2[1]) inputCategory = categorySearch2[1] if inputName and categorySearch[0] != os.path.normpath(inputDirectory): # if we are not in the root directory and we have inputName we can continue. Logger.info("SEARCH: Identified Category: %s and Torrent Name: %s. We are in a unique directory, so we can proceed.", inputCategory, inputName)