mpybit[update draft kivy state variable]&add delte inside helper_sent
This commit is contained in:
parent
34dbe5fe18
commit
aff6ca1bd7
|
@ -7,3 +7,7 @@ from helper_sql import sqlExecute
|
||||||
def insert(t):
|
def insert(t):
|
||||||
"""Perform an insert into the `sent` table"""
|
"""Perform an insert into the `sent` table"""
|
||||||
sqlExecute('''INSERT INTO sent VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)''', *t)
|
sqlExecute('''INSERT INTO sent VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)''', *t)
|
||||||
|
|
||||||
|
def delete(ack_data):
|
||||||
|
"""Perform delete ack data"""
|
||||||
|
sqlExecute("DELETE FROM sent WHERE ackdata = ?", ack_data)
|
||||||
|
|
Reference in New Issue
Block a user