mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-30 19:40:03 -07:00
fix setting of Mylar config from NZBGet.
This commit is contained in:
parent
ec6129cb36
commit
c2f10b832c
2 changed files with 4 additions and 1 deletions
|
@ -328,7 +328,7 @@ def addnzbget():
|
|||
envKeys = ['CATEGORY', 'HOST', 'PORT', 'USERNAME', 'PASSWORD', 'SSL', 'WEB_ROOT']
|
||||
cfgKeys = ['mlCategory', 'host', 'port', 'username', 'password', 'ssl', 'web_root']
|
||||
for index in range(len(envKeys)):
|
||||
key = 'NZBPO_ML' + envKeys[index]
|
||||
key = 'NZBPO_MY' + envKeys[index]
|
||||
if os.environ.has_key(key):
|
||||
option = cfgKeys[index]
|
||||
value = os.environ[key]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue