From 51fdd2bbb78f96240c138685b7a48649318eab40 Mon Sep 17 00:00:00 2001 From: Gary Burton Date: Sun, 20 Apr 2008 20:58:26 +0000 Subject: [PATCH] Make sure database version is set when recovering a database svn: r10607 --- src/DbManager.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/DbManager.py b/src/DbManager.py index d563d102b..8e9a3be9b 100644 --- a/src/DbManager.py +++ b/src/DbManager.py @@ -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)