Make sure database version is set when recovering a database
svn: r10607
This commit is contained in:
parent
abec815ef6
commit
51fdd2bbb7
@ -789,6 +789,9 @@ class DbManager(CLIDbManager):
|
||||
fname = os.path.join(dirname, filename)
|
||||
os.unlink(fname)
|
||||
|
||||
newdb = gen.db.GrampsDBDir()
|
||||
newdb.write_version(dirname)
|
||||
|
||||
dbclass = gen.db.GrampsDBDir
|
||||
dbase = dbclass()
|
||||
dbase.set_save_path(dirname)
|
||||
|
Loading…
Reference in New Issue
Block a user