8772: Copy values from previous gramps.ini when upgrading; fixed typo
This commit is contained in:
parent
defdec493e
commit
32f6024520
@ -384,7 +384,7 @@ if not os.path.exists(CONFIGMAN.filename):
|
|||||||
previous_grampsini = os.path.join(fullpath, "gramps" + str(digits), filename)
|
previous_grampsini = os.path.join(fullpath, "gramps" + str(digits), filename)
|
||||||
if os.path.exists(previous_grampsini):
|
if os.path.exists(previous_grampsini):
|
||||||
logging.warning("Importing old config file '%s'..." % 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)
|
logging.warning("Done importing old config file '%s'" % previous_grampsini)
|
||||||
break
|
break
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user