mirror of
https://github.com/esphome/esphome.git
synced 2024-11-21 14:38:10 +01:00
Fix lint error
This commit is contained in:
parent
c31c5c4041
commit
9e5548324b
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue