mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 02:26:53 -07:00
added option no_extract_failed. Fixes #1129
This commit is contained in:
parent
dcd99da19e
commit
c94731bcbb
11 changed files with 47 additions and 8 deletions
|
@ -267,8 +267,8 @@ class ConfigObj(configobj.ConfigObj, Section):
|
|||
CFG_NEW[section][option] = value
|
||||
|
||||
section = "General"
|
||||
envKeys = ['AUTO_UPDATE', 'CHECK_MEDIA', 'SAFE_MODE']
|
||||
cfgKeys = ['auto_update', 'check_media', 'safe_mode']
|
||||
envKeys = ['AUTO_UPDATE', 'CHECK_MEDIA', 'SAFE_MODE', 'NO_EXTRACT_FAILED']
|
||||
cfgKeys = ['auto_update', 'check_media', 'safe_mode', 'no_extract_failed']
|
||||
for index in range(len(envKeys)):
|
||||
key = 'NZBPO_{index}'.format(index=envKeys[index])
|
||||
if key in os.environ:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue