diff --git a/src/GrampsBSDDB.py b/src/GrampsBSDDB.py index a7847d488..7a072b148 100644 --- a/src/GrampsBSDDB.py +++ b/src/GrampsBSDDB.py @@ -170,7 +170,7 @@ class GrampsBSDDB(GrampsDbBase): self.undodb.open(self.undolog, db.DB_RECNO, db.DB_CREATE) if self.metadata.get('version') == None: - self.metadata['version'] == _DBVERSION + self.metadata['version'] = _DBVERSION self.metadata = self.dbopen(name, "meta") self.bookmarks = self.metadata.get('bookmarks')