updated get entry
This commit is contained in:
parent
971ca5850e
commit
6c7e8e9940
1 changed files with 2 additions and 1 deletions
|
@ -80,8 +80,9 @@ class DB:
|
|||
cursor.execute('SELECT * FROM entries WHERE ID = ?', ID)
|
||||
|
||||
result = cursor.fetchall()
|
||||
entry = Entry(result[0], result[1], result[2], result[3], result[4], result[5])
|
||||
|
||||
return result
|
||||
return entry
|
||||
|
||||
def addEntry(self, Entry):
|
||||
title = Entry.name
|
||||
|
|
Reference in a new issue