mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
fix finding file as path from input dir. fixes #262
This commit is contained in:
parent
722c123214
commit
01314eba55
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ def category_search(inputDirectory, inputName, inputCategory, root, categories):
|
||||||
Logger.info("SEARCH: We will try and determine which files to process, individually")
|
Logger.info("SEARCH: We will try and determine which files to process, individually")
|
||||||
root = 2
|
root = 2
|
||||||
break
|
break
|
||||||
elif inputName and safeName(categorySearch2[1]) == safeName(inputName): # we have identified a unique directory.
|
elif inputName and safeName(categorySearch2[1]) == safeName(inputName) and os.path.isdir(categorySearch[0]): # we have identified a unique directory.
|
||||||
Logger.info("SEARCH: Files appear to be in their own directory")
|
Logger.info("SEARCH: Files appear to be in their own directory")
|
||||||
unique = int(1)
|
unique = int(1)
|
||||||
if inputCategory: # we are ok to proceed.
|
if inputCategory: # we are ok to proceed.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue