fix setting of Mylar config from NZBGet.

This commit is contained in:
clinton-hall 2014-03-14 12:06:09 +10:30
commit c2f10b832c
2 changed files with 4 additions and 1 deletions

View file

@ -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]

View file

@ -8,6 +8,9 @@ Delete torrent if uselink = move
Added forceClean for outputDir. Works in file permissions prevent CP/SB from moving files.
Ignore .x264 from archive "part" checks.
Impacts NZBs
Fix setting of Mylar config from NZBGet.
V9.2 05/03/2014
Impacts All