From 7ffabbe8852395f8473a63d193c995eccfa5813d Mon Sep 17 00:00:00 2001 From: echel0n Date: Mon, 7 Apr 2014 02:09:52 -0700 Subject: [PATCH] Fixed bug in nzbToSickBeard --- nzbToSickBeard.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nzbToSickBeard.py b/nzbToSickBeard.py index a9f2ae20..76de0d08 100755 --- a/nzbToSickBeard.py +++ b/nzbToSickBeard.py @@ -237,11 +237,11 @@ else: for category in subsection: dirNames = get_dirnames(section, category) for dirName in dirNames: - Logger.info("MAIN: nzbTo%s running %s:%s as a manual run...", section, section, subsection) - results = autoProcessTV(dirName, inputName=os.path.basename(dirName), failed=0, clientAgent="manual", inputCategory=category) + Logger.info("MAIN: nzbTo%s running %s:%s as a manual run...", section, section, category) + results = autoProcessTV(dirName, os.path.basename(dirName), 0, inputCategory=category) if results != 0: result = results - Logger.info("MAIN: A problem was reported when trying to manually run %s:%s.", section, subsection) + Logger.info("MAIN: A problem was reported when trying to manually run %s:%s.", section, category) if result == 0: Logger.info("MAIN: The autoProcessTV script completed successfully.")