how embarassing. fixes #262

This commit is contained in:
clinton-hall 2014-02-13 16:45:40 +10:30
commit 13730ae659
2 changed files with 2 additions and 2 deletions

View file

@ -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:

View file

@ -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