8772: Copy values from previous gramps.ini when upgrading; fixed typo

This commit is contained in:
Doug Blank 2015-07-30 12:32:50 -04:00
parent defdec493e
commit 32f6024520

View File

@ -384,7 +384,7 @@ if not os.path.exists(CONFIGMAN.filename):
previous_grampsini = os.path.join(fullpath, "gramps" + str(digits), filename)
if os.path.exists(previous_grampsini):
logging.warning("Importing old config file '%s'..." % previous_grampsini)
CONFIGMAN.load(os.path.join(HOME_DIR, "keys.ini"))
CONFIGMAN.load(previous_grampsini)
logging.warning("Done importing old config file '%s'" % previous_grampsini)
break