mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 10:36:52 -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:
|
||||
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)
|
||||
pass
|
||||
break
|
||||
else:
|
||||
Logger.error("MAIN: Could not match input category with defined categories, Exiting")
|
||||
sys.exit(-1)
|
||||
continue
|
||||
|
||||
Logger.debug("MAIN: Scanning files in directory: %s", inputDirectory)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue