From 8551a0b071a1ce3d83a4589341b0dedcf416cc3b Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Tue, 26 May 2015 11:35:56 -0400 Subject: [PATCH] DB-API: fixed error in find_initial_person --- gramps/plugins/database/dbapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/plugins/database/dbapi.py b/gramps/plugins/database/dbapi.py index 51a409240..54ca72cea 100644 --- a/gramps/plugins/database/dbapi.py +++ b/gramps/plugins/database/dbapi.py @@ -2099,7 +2099,7 @@ class DBAPI(DbWriteBase, DbReadBase, UpdateCallback, Callback): cur = self.dbapi.execute("SELECT handle FROM person;") row = cur.fetchone() if row: - return row[0] + return self.get_person_from_handle(row[0]) def get_bookmarks(self): return self.bookmarks