Rename config.get_config_path to config.path

This commit is contained in:
Paulus Schoutsen committed 2015-03-19 12:27:56 -07:00
1 parent 9b643d57f0
commit 7a7f486cb2
11 files changed
+24 -21

No files matched your search

+1 -1
View File
@@ -262,7 +262,7 @@ class Recorder(threading.Thread):
def _setup_connection(self):
""" Ensure database is ready to fly. """
db_path = self.hass.get_config_path(DB_FILE)
db_path = self.hass.config.path(DB_FILE)
self.conn = sqlite3.connect(db_path, check_same_thread=False)
self.conn.row_factory = sqlite3.Row