updated get entry

This commit is contained in:
ellie 2022-10-29 20:04:21 +01:00
parent 971ca5850e
commit 6c7e8e9940

View file

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