diff --git a/esphomeyaml/config.py b/esphomeyaml/config.py index 96a8f95e0b..23f0e9d029 100644 --- a/esphomeyaml/config.py +++ b/esphomeyaml/config.py @@ -263,8 +263,8 @@ def read_config(path): _LOGGER.debug("Reading configuration...") try: res = load_config(path) - except ESPHomeYAMLError as e: - _LOGGER.error(u"Error while reading config: %s", e) + except ESPHomeYAMLError as err: + _LOGGER.error(u"Error while reading config: %s", err) return None excepts = {} for err in res.errors: