From 13730ae659af0c2f6ee080775382d1afc308b3a5 Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Thu, 13 Feb 2014 16:45:40 +1030 Subject: [PATCH] how embarassing. fixes #262 --- TorrentToMedia.py | 2 +- autoProcess/nzbToMediaUtil.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TorrentToMedia.py b/TorrentToMedia.py index eb0950d6..e059a99a 100755 --- a/TorrentToMedia.py +++ b/TorrentToMedia.py @@ -340,7 +340,7 @@ def external_script(outputDestination): if fileExtension in user_script_mediaExtensions or "ALL" in user_script_mediaExtensions: num_files = num_files + 1 - if user_script_runOnce == 1 and num_files > 1: we have already run once, so just continue to get number of files. + if user_script_runOnce == 1 and num_files > 1: # we have already run once, so just continue to get number of files. continue command = [user_script] for param in user_script_param: diff --git a/autoProcess/nzbToMediaUtil.py b/autoProcess/nzbToMediaUtil.py index 11a4d8e1..177701a5 100644 --- a/autoProcess/nzbToMediaUtil.py +++ b/autoProcess/nzbToMediaUtil.py @@ -104,7 +104,7 @@ def category_search(inputDirectory, inputName, inputCategory, root, categories): inputDirectory = os.path.normpath(categorySearch[0]) else: # The inputdirectory given can't have been valid. Start at the category directory and search for date modified. Logger.info("SEARCH: Input Directory %s doesn't exist as a directory or file", inputDirectory) - Logger.info("SEARCH: Setting input directory to %s" and checking for files by date modified., categorySearch[0]) + Logger.info("SEARCH: Setting input directory to %s and checking for files by date modified.", categorySearch[0]) root = 2 inputDirectory = os.path.normpath(categorySearch[0]) break # we are done