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;")
|
cur = self.dbapi.execute("SELECT handle FROM person;")
|
||||||
row = cur.fetchone()
|
row = cur.fetchone()
|
||||||
if row:
|
if row:
|
||||||
return row[0]
|
return self.get_person_from_handle(row[0])
|
||||||
|
|
||||||
def get_bookmarks(self):
|
def get_bookmarks(self):
|
||||||
return self.bookmarks
|
return self.bookmarks
|
||||||
|
Loading…
Reference in New Issue
Block a user