1
mirror of https://github.com/home-assistant/core synced 2024-07-09 04:58:30 +02:00

Fix documentation in __main__

This commit is contained in:
Paulus Schoutsen 2015-08-29 23:35:19 -07:00
parent 3960a465f1
commit fc6613ffb1

View File

@ -11,8 +11,7 @@ from homeassistant.const import EVENT_HOMEASSISTANT_START
def ensure_config_path(config_dir):
""" Gets the path to the configuration file.
Creates one if it not exists. """
""" Validates configuration directory. """
lib_dir = os.path.join(config_dir, 'lib')
@ -41,6 +40,7 @@ def ensure_config_path(config_dir):
def ensure_config_file(config_dir):
""" Ensure configuration file exists. """
config_path = config_util.ensure_config_exists(config_dir)
if config_path is None: