mpybit[update draft kivy state variable]&add delte inside helper_sent

This commit is contained in:
shekhar-cis 2022-05-10 15:53:06 +05:30
parent 34dbe5fe18
commit aff6ca1bd7
Signed by untrusted user: shekhar-cis
GPG Key ID: F4F00AB04E83F9A7

View File

@ -7,3 +7,7 @@ from helper_sql import sqlExecute
def insert(t):
"""Perform an insert into the `sent` table"""
sqlExecute('''INSERT INTO sent VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)''', *t)
def delete(ack_data):
"""Perform delete ack data"""
sqlExecute("DELETE FROM sent WHERE ackdata = ?", ack_data)