mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -07:00
another small fix
This commit is contained in:
parent
9d32800a50
commit
6909e0edb5
1 changed files with 3 additions and 4 deletions
|
@ -32,12 +32,11 @@ def main(inputDirectory, inputName, inputCategory, inputHash):
|
||||||
|
|
||||||
for category in categories:
|
for category in categories:
|
||||||
if category == inputCategory:
|
if category == inputCategory:
|
||||||
outputDestination = os.path.normpath(os.path.join(outputDestination, category, inputName))
|
outputDestination = os.path.normpath(os.path.join(outputDirectory, category, inputName))
|
||||||
Logger.info("MAIN: Output directory set to: %s", outputDestination)
|
Logger.info("MAIN: Output directory set to: %s", outputDestination)
|
||||||
pass
|
break
|
||||||
else:
|
else:
|
||||||
Logger.error("MAIN: Could not match input category with defined categories, Exiting")
|
continue
|
||||||
sys.exit(-1)
|
|
||||||
|
|
||||||
Logger.debug("MAIN: Scanning files in directory: %s", inputDirectory)
|
Logger.debug("MAIN: Scanning files in directory: %s", inputDirectory)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue