Error fix for #355

This commit is contained in:
Clinton Hall 2014-05-01 22:36:54 +09:30
commit 5fdf4e10e3

View file

@ -202,7 +202,7 @@ def initialize(section=None):
# run migrate to convert NzbGet data from old cfg style to new cfg style # run migrate to convert NzbGet data from old cfg style to new cfg style
if os.environ.has_key('NZBOP_SCRIPTDIR'): if os.environ.has_key('NZBOP_SCRIPTDIR'):
CFG = config.addnzbget(): CFG = config.addnzbget()
else: # load newly migrated config else: # load newly migrated config
logger.info("Loading config from [%s]" % (CONFIG_FILE)) logger.info("Loading config from [%s]" % (CONFIG_FILE))