DB-API: fixed error in find_initial_person

This commit is contained in:
Doug Blank 2015-05-26 11:35:56 -04:00
parent 3cbc012f6f
commit 90488ce14b

View File

@ -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