From fc6613ffb1c26aa5d529fb20473843ee49cce513 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 29 Aug 2015 23:35:19 -0700 Subject: [PATCH] Fix documentation in __main__ --- homeassistant/__main__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/__main__.py b/homeassistant/__main__.py index 48232077e755..6d0884967f70 100644 --- a/homeassistant/__main__.py +++ b/homeassistant/__main__.py @@ -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: