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)