mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-29 19:18:28 -07:00
minor fix for syntaxt.
This commit is contained in:
parent
c2af80dea0
commit
c5b51ac1bf
1 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ def category_search(inputDirectory, inputName, inputCategory, root, categories):
|
|||
try:
|
||||
categorySearch2 = os.path.split(os.path.normpath(categorySearch[0]))
|
||||
except: # this might happen when we can't go higher.
|
||||
if unique = int(0)
|
||||
if unique == int(0)
|
||||
if inputCategory and inputName: # if these exists, we are ok to proceed, but assume we are in a root/common directory.
|
||||
Logger.info("SEARCH: Could not find a category in the directory structure")
|
||||
Logger.info("SEARCH: We will try and determine which files to process, individually")
|
||||
|
@ -140,7 +140,7 @@ def category_search(inputDirectory, inputName, inputCategory, root, categories):
|
|||
categorySearch = categorySearch2 # ready for next loop
|
||||
continue # keep going
|
||||
|
||||
if notfound == 1 and not unique = int(1):
|
||||
if notfound == 1 and not unique == int(1):
|
||||
if inputCategory and inputName: # if these exists, we are ok to proceed, but assume we are in a root/common directory.
|
||||
Logger.info("SEARCH: Could not find a category in the directory structure")
|
||||
Logger.info("SEARCH: We will try and determine which files to process, individually")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue