fix error with manual run of nzbToMedia.py

This commit is contained in:
clinton-hall 2014-01-29 14:27:05 +10:30
commit 06e16f5661
2 changed files with 4 additions and 1 deletions

View file

@ -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

View file

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