mirror of
https://github.com/esphome/esphome.git
synced 2025-03-19 09:08:16 +00:00
lint
This commit is contained in:
parent
98a530fcf0
commit
51a68d0a88
@ -1098,7 +1098,7 @@ class PingStatus:
|
|||||||
)
|
)
|
||||||
for entry, result in zip(ping_group, results):
|
for entry, result in zip(ping_group, results):
|
||||||
if isinstance(result, BaseException):
|
if isinstance(result, BaseException):
|
||||||
raise
|
raise result
|
||||||
if isinstance(result, Exception):
|
if isinstance(result, Exception):
|
||||||
result = False
|
result = False
|
||||||
PING_RESULT[entry.filename] = result
|
PING_RESULT[entry.filename] = result
|
||||||
|
Loading…
x
Reference in New Issue
Block a user