diff --git a/src/gen/db/dbdir.py b/src/gen/db/dbdir.py index 6a0d07b65..832eed19d 100644 --- a/src/gen/db/dbdir.py +++ b/src/gen/db/dbdir.py @@ -428,7 +428,7 @@ class GrampsDBDir(GrampsDbBase, UpdateCallback): def version_supported(self): try: - dbversion = self.metadata.get('version', default=_DBVERSION) + dbversion = self.metadata.get('version', default=0) return ((dbversion <= _DBVERSION) and (dbversion >= _MINVERSION)) except DBERRS, msg: self.__log_error()