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
@@ -148,7 +148,7 @@ def enable_logging(hass):
logging.basicConfig(level=logging.INFO)
# Log errors to a file if we have write access to file or config dir
err_log_path = hass.config.get_config_path("home-assistant.log")
err_log_path = hass.config.path("home-assistant.log")
err_path_exists = os.path.isfile(err_log_path)
# Check if we can write to the error log if it exists or that