From 0434a8cb60a781a04e531a92a6d6408ad06b9353 Mon Sep 17 00:00:00 2001 From: swee Date: Wed, 8 Jan 2025 22:09:01 -0800 Subject: [PATCH] Update modules/sqlite_local.py --- modules/sqlite_local.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/sqlite_local.py b/modules/sqlite_local.py index e392fcc..0740389 100644 --- a/modules/sqlite_local.py +++ b/modules/sqlite_local.py @@ -1,9 +1,9 @@ # IRCat module for local SQLite database (default) import sqlite3 __ircat_type__ = "sql.provider" # The type of module -__ircat_requires__ = ["data_path"] # The required config.yml entries. +__ircat_requires__ = ["data-path"] # The required config.yml entries. class SQLiteDataBroker: - def __init__(self): + def __init__(self, data_path): if not os.path.isfile(data_path): print("Creating database file...") open(data_path, "w").write("")