Update modules/sqlite_local.py
Some checks failed
Check syntax / check (push) Has been cancelled

This commit is contained in:
Nova Cat 2025-01-08 21:32:41 -08:00
parent 12609bec29
commit 30b55d2a26

View file

@ -1,6 +1,7 @@
# IRCat module for local SQLite database (default) # IRCat module for local SQLite database (default)
import sqlite3 import sqlite3
__ircat_type__ = "sql.provider" __ircat_type__ = "sql.provider" # The type of module
__ircat_requires__ = [data_path] # The required config.yml entries.
class SQLiteDataBroker: class SQLiteDataBroker:
def __init__(self): def __init__(self):
if not os.path.isfile(data_path): if not os.path.isfile(data_path):