mirror of
https://github.com/esphome/esphome.git
synced 2024-11-22 11:47:30 +01:00
Fix lint error
This commit is contained in:
parent
c31c5c4041
commit
9e5548324b
@ -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 New Issue
Block a user