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

12 lines
221 B
Python
Raw Normal View History

"""
Insert value into addressbook
"""
from helper_sql import sqlExecute
def insert(address, label):
"""perform insert into addressbook"""
sqlExecute('''INSERT INTO addressbook VALUES (?,?)''', label, address)