This repository has been archived on 2025-02-02. You can view files and clone it, but cannot push or open issues or pull requests.
PyBitmessage-2025-02-02/src/helper_sent.py

12 lines
308 B
Python
Executable File

"""
Insert values into sent table
"""
try:
from helper_sql import sqlExecute
except ModuleNotFoundError:
from pybitmessage.helper_sql import sqlExecute
def insert(t):
"""Perform an insert into the `sent` table"""
sqlExecute('''INSERT INTO sent VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)''', *t)