mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 13:23:18 -07:00
how embarassing. fixes #262
This commit is contained in:
parent
19485f4db4
commit
13730ae659
2 changed files with 2 additions and 2 deletions
|
@ -340,7 +340,7 @@ def external_script(outputDestination):
|
||||||
|
|
||||||
if fileExtension in user_script_mediaExtensions or "ALL" in user_script_mediaExtensions:
|
if fileExtension in user_script_mediaExtensions or "ALL" in user_script_mediaExtensions:
|
||||||
num_files = num_files + 1
|
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
|
continue
|
||||||
command = [user_script]
|
command = [user_script]
|
||||||
for param in user_script_param:
|
for param in user_script_param:
|
||||||
|
|
|
@ -104,7 +104,7 @@ def category_search(inputDirectory, inputName, inputCategory, root, categories):
|
||||||
inputDirectory = os.path.normpath(categorySearch[0])
|
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.
|
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: 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
|
root = 2
|
||||||
inputDirectory = os.path.normpath(categorySearch[0])
|
inputDirectory = os.path.normpath(categorySearch[0])
|
||||||
break # we are done
|
break # we are done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue