mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 05:43:16 -07:00
use list for python3 compatibility. Fixes #1545
This commit is contained in:
parent
f47f68f699
commit
8a637918d6
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ def process(section, dir_name, input_name=None, failed=False, client_agent='manu
|
||||||
fork_params[param] = 1
|
fork_params[param] = 1
|
||||||
|
|
||||||
# delete any unused params so we don't pass them to SB by mistake
|
# delete any unused params so we don't pass them to SB by mistake
|
||||||
[fork_params.pop(k) for k, v in fork_params.items() if v is None]
|
[fork_params.pop(k) for k, v in list(fork_params.items()) if v is None]
|
||||||
|
|
||||||
if status == 0:
|
if status == 0:
|
||||||
if section == 'NzbDrone' and not apikey:
|
if section == 'NzbDrone' and not apikey:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue