From 0f393a0a26f7931b55adf49e07bc0aed02c8cb8c Mon Sep 17 00:00:00 2001 From: Clinton Hall Date: Tue, 21 Apr 2020 10:46:32 +1200 Subject: [PATCH] Fix handling of 'type' for different ordering. #1738 --- core/auto_process/tv.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/auto_process/tv.py b/core/auto_process/tv.py index b6c4f21d..a06a1985 100644 --- a/core/auto_process/tv.py +++ b/core/auto_process/tv.py @@ -200,7 +200,8 @@ def process(section, dir_name, input_name=None, failed=False, client_agent='manu del fork_params['quiet'] if param == 'type': - fork_params[param] = 'manual' + if 'type' in fork_params: # only set if we haven't already deleted for 'failed' above. + fork_params[param] = 'manual' if 'proc_type' in fork_params: del fork_params['proc_type']