mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
fix nzbget migration
This commit is contained in:
parent
c48519da2a
commit
5a91d0774b
1 changed files with 2 additions and 2 deletions
|
@ -243,8 +243,8 @@ class ConfigObj(configobj.ConfigObj, Section):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if os.environ.has_key('NZBPO_NDCATEGORY') and os.environ.has_key('NZBPO_SBCATEGORY'):
|
if os.environ.has_key('NZBPO_NDCATEGORY') and os.environ.has_key('NZBPO_SBCATEGORY'):
|
||||||
if os.environ('NZBPO_NDCATEGORY') == os.environ('NZBPO_SBCATEGORY'):
|
if os.environ['NZBPO_NDCATEGORY'] == os.environ['NZBPO_SBCATEGORY']:
|
||||||
logger.warning("%s category is set for SickBeard and NzbDrone. Please check your config in NZBGet" % (os.environ('NZBPO_NDCATEGORY')))
|
logger.warning("%s category is set for SickBeard and NzbDrone. Please check your config in NZBGet" % (os.environ['NZBPO_NDCATEGORY']))
|
||||||
|
|
||||||
section = "Nzb"
|
section = "Nzb"
|
||||||
key = 'NZBOP_DESTDIR'
|
key = 'NZBOP_DESTDIR'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue