DB-API: fixed error in find_initial_person
This commit is contained in:
parent
1830e2b943
commit
8551a0b071
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user