From 6687d3d02e5d8732f961f2c217d6e34aea554136 Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Wed, 19 Feb 2014 16:54:22 +1030 Subject: [PATCH] added debug logging for num files found. #267 --- TorrentToMedia.py | 1 + 1 file changed, 1 insertion(+) diff --git a/TorrentToMedia.py b/TorrentToMedia.py index 8581f084..8b65b14d 100755 --- a/TorrentToMedia.py +++ b/TorrentToMedia.py @@ -134,6 +134,7 @@ def main(inputDirectory, inputName, inputCategory, inputHash, inputID): outputDestinationMaster = outputDestination # Save the original, so we can change this within the loop below, and reset afterwards. now = datetime.datetime.now() for dirpath, dirnames, filenames in os.walk(inputDirectory): + Logger.debug("MAIN: Found %s files in %s", str(len(filenames)), dirpath) for file in filenames: filePath = os.path.join(dirpath, file)