Fix lint error

This commit is contained in:
Otto Winter 2018-04-11 18:29:21 +02:00
parent c31c5c4041
commit 9e5548324b
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E

View File

@ -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: