Update modules/sqlite_local.py
Some checks failed
Check syntax / check (push) Has been cancelled
Some checks failed
Check syntax / check (push) Has been cancelled
This commit is contained in:
parent
12609bec29
commit
30b55d2a26
1 changed files with 2 additions and 1 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue