Fixed bug in nzbToSickBeard

This commit is contained in:
echel0n 2014-04-07 02:09:52 -07:00
commit 7ffabbe885

View file

@ -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.")