From aff6ca1bd7acc4d1013fd6c65c4130888f6f92cf Mon Sep 17 00:00:00 2001 From: shekhar-cis Date: Tue, 10 May 2022 15:53:06 +0530 Subject: [PATCH] mpybit[update draft kivy state variable]&add delte inside helper_sent --- src/helper_sent.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/helper_sent.py b/src/helper_sent.py index 47fc5bb4..50463e90 100644 --- a/src/helper_sent.py +++ b/src/helper_sent.py @@ -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)