From 06e16f5661c77faddb8980bbe2c5b08b25a2ed0e Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Wed, 29 Jan 2014 14:27:05 +1030 Subject: [PATCH] fix error with manual run of nzbToMedia.py --- changelog.txt | 3 +++ nzbToMedia.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index 77ed7ef4..114b724f 100644 --- a/changelog.txt +++ b/changelog.txt @@ -6,6 +6,9 @@ Impacts All Change default "wait_for" to 5 mins. CouchPotato can take more than 2 minutes to return on renamer.scan request. Added SickBeard "wait_for" to bw customizable to prevent unwanted timeouts. +Impacts NZBs +Fix Error with manual run of nzbToMedia + V9.1 24/01/2014 Impacts All diff --git a/nzbToMedia.py b/nzbToMedia.py index e501d253..c858520d 100755 --- a/nzbToMedia.py +++ b/nzbToMedia.py @@ -399,7 +399,7 @@ else: # only CPS supports this manual run for now. Logger.warn("MAIN: Invalid number of arguments received from client.") Logger.info("MAIN: Running autoProcessMovie as a manual run...") clientAgent = "manual" - nzbDir, inputName, status, inputCategory, download_id = ('Manual Run', 'Manual Run', 0, cpsCategory, '') + nzbDir, inputName, status, inputCategory, download_id = ('Manual Run', 'Manual Run', 0, cpsCategory[0], '') if inputCategory in cpsCategory: Logger.info("MAIN: Calling CouchPotatoServer to post-process: %s", inputName)