mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
add require_lan #1853
This commit is contained in:
parent
a95ac65b04
commit
78d2e9ba0b
1 changed files with 2 additions and 2 deletions
|
@ -322,8 +322,8 @@ class ConfigObj(configobj.ConfigObj, Section):
|
||||||
cfg_new[section][option] = value
|
cfg_new[section][option] = value
|
||||||
|
|
||||||
section = 'General'
|
section = 'General'
|
||||||
env_keys = ['AUTO_UPDATE', 'CHECK_MEDIA', 'SAFE_MODE', 'NO_EXTRACT_FAILED']
|
env_keys = ['AUTO_UPDATE', 'CHECK_MEDIA', 'REQUIRE_LAN', 'SAFE_MODE', 'NO_EXTRACT_FAILED']
|
||||||
cfg_keys = ['auto_update', 'check_media', 'safe_mode', 'no_extract_failed']
|
cfg_keys = ['auto_update', 'check_media', 'require_lan', 'safe_mode', 'no_extract_failed']
|
||||||
for index in range(len(env_keys)):
|
for index in range(len(env_keys)):
|
||||||
key = 'NZBPO_{index}'.format(index=env_keys[index])
|
key = 'NZBPO_{index}'.format(index=env_keys[index])
|
||||||
if key in os.environ:
|
if key in os.environ:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue