Update modules/sqlite_local.py
This commit is contained in:
parent
9794a20fd5
commit
6c922d3aa8
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
import sqlite3
|
import sqlite3
|
||||||
__ircat_type__ = "sql.provider" # The type of module
|
__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:
|
class broker:
|
||||||
def __init__(self, data_path):
|
def __init__(self, data_path):
|
||||||
if not os.path.isfile(data_path):
|
if not os.path.isfile(data_path):
|
||||||
print("Creating database file...")
|
print("Creating database file...")
|
||||||
|
|
Loading…
Reference in a new issue