1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-26 14:08:21 +00:00

Rename config.get_config_path to config.path

This commit is contained in:
Paulus Schoutsen
2015-03-19 12:27:56 -07:00
parent 9b643d57f0
commit 7a7f486cb2
11 changed files with 24 additions and 21 deletions

View File

@@ -46,7 +46,7 @@ def prepare(hass):
pkgutil.iter_modules(components.__path__, 'homeassistant.components.'))
# Look for available custom components
custom_path = hass.config.get_config_path("custom_components")
custom_path = hass.config.path("custom_components")
if os.path.isdir(custom_path):
# Ensure we can load custom components using Pythons import