summaryrefslogtreecommitdiff
path: root/include/py/homekit/database/sqlite.py
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2023-09-17 04:38:12 +0300
committerEvgeny Zinoviev <me@ch1p.io>2023-09-17 04:38:12 +0300
commita32e4a1629a20026c364059c7bbaec1dbd64353b (patch)
treeae1f805e95a992742e9904d503a0848189af747b /include/py/homekit/database/sqlite.py
parent44aad914a3cea1b6e39cf5db7bebeafb59191707 (diff)
multiple fixes
Diffstat (limited to 'include/py/homekit/database/sqlite.py')
-rw-r--r--include/py/homekit/database/sqlite.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/py/homekit/database/sqlite.py b/include/py/homekit/database/sqlite.py
index 8b0c44c..1651a93 100644
--- a/include/py/homekit/database/sqlite.py
+++ b/include/py/homekit/database/sqlite.py
@@ -18,7 +18,7 @@ class SQLiteBase:
def __init__(self, name=None, path=None, check_same_thread=False):
if not path:
if not name:
- name = config.app_config['database_name']
+ name = config.app_name
database_path = _get_database_path(name)
else:
database_path = path