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("")