mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-16 02:02:53 -07:00
fix logging information
This commit is contained in:
parent
427b599e49
commit
847809df3b
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue