mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 05:43:16 -07:00
convert byte to string from Popen. Fix Sick* failed processing. Fixes #1545
This commit is contained in:
parent
f91f40d643
commit
f47f68f699
4 changed files with 23 additions and 18 deletions
|
@ -168,13 +168,15 @@ def process(section, dir_name, input_name=None, failed=False, client_agent='manu
|
|||
for param in copy.copy(fork_params):
|
||||
if param == 'failed':
|
||||
fork_params[param] = failed
|
||||
del fork_params['proc_type']
|
||||
if 'proc_type' in fork_params:
|
||||
del fork_params['proc_type']
|
||||
if 'type' in fork_params:
|
||||
del fork_params['type']
|
||||
|
||||
if param == 'return_data':
|
||||
fork_params[param] = 0
|
||||
del fork_params['quiet']
|
||||
if 'quiet' in fork_params:
|
||||
del fork_params['quiet']
|
||||
|
||||
if param == 'type':
|
||||
fork_params[param] = 'manual'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue