DB-API: fixed error in find_initial_person
This commit is contained in:
parent
3cbc012f6f
commit
90488ce14b
@ -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