mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-30 11:38:30 -07:00
Merge branch 'clinton-hall/dev'
Conflicts: autoProcess/nzbToMediaEnv.py
This commit is contained in:
commit
9969eaa47a
9 changed files with 119 additions and 130 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