mirror of
https://github.com/esphome/esphome.git
synced 2025-01-31 10:10:56 +00: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...")
|
_LOGGER.debug("Reading configuration...")
|
||||||
try:
|
try:
|
||||||
res = load_config(path)
|
res = load_config(path)
|
||||||
except ESPHomeYAMLError as e:
|
except ESPHomeYAMLError as err:
|
||||||
_LOGGER.error(u"Error while reading config: %s", e)
|
_LOGGER.error(u"Error while reading config: %s", err)
|
||||||
return None
|
return None
|
||||||
excepts = {}
|
excepts = {}
|
||||||
for err in res.errors:
|
for err in res.errors:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user