From 195636280f6f2f985f94773e019ffe59f2775a1e Mon Sep 17 00:00:00 2001 From: Clinton Hall Date: Wed, 20 Feb 2013 19:53:00 -0800 Subject: [PATCH] fix loop --- TorrentToMedia.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TorrentToMedia.py b/TorrentToMedia.py index 8a0ac347..8619e2dd 100755 --- a/TorrentToMedia.py +++ b/TorrentToMedia.py @@ -61,12 +61,14 @@ def category_search(inputDirectory, inputCategory, root, inputName, categories): break # we are done else: Logger.debug("SEARCH: Continuing scan to determin category.") + categorySearch=categorySearch2 #ready for next loop continue # keep going else: if x == 9: # This is the last pass in the loop and we didn't find anything. notfound = 1 break # we are done else: + categorySearch=categorySearch2 #ready for next loop continue # keep going if notfound == 1: