diff --git a/gramps/gen/db/write.py b/gramps/gen/db/write.py index 5c872e7f1..742898352 100644 --- a/gramps/gen/db/write.py +++ b/gramps/gen/db/write.py @@ -2372,6 +2372,8 @@ class DbBsddb(DbBsddbRead, DbWriteBase, UpdateCallback): version = self.metadata.get(b'version', default=_MINVERSION) t = time.time() + + from . import upgrade if version < 14: upgrade.gramps_upgrade_14(self)