From 6571eeea2d862e4021c5333b2659de4b51a5da16 Mon Sep 17 00:00:00 2001 From: Clinton Hall Date: Tue, 3 Dec 2013 07:26:36 +1030 Subject: [PATCH] More syntaxt fixes #214 --- autoProcess/nzbToMediaUtil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoProcess/nzbToMediaUtil.py b/autoProcess/nzbToMediaUtil.py index 3b1f8f53..e5218247 100644 --- a/autoProcess/nzbToMediaUtil.py +++ b/autoProcess/nzbToMediaUtil.py @@ -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")