mirror of
https://github.com/esphome/esphome.git
synced 2025-04-15 07:10:33 +01:00
lint
This commit is contained in:
parent
4d984ce412
commit
250d82e0c8
@ -1580,8 +1580,6 @@ async def async_start_web_server(args):
|
|||||||
shutdown_event = asyncio.Event()
|
shutdown_event = asyncio.Event()
|
||||||
try:
|
try:
|
||||||
await shutdown_event.wait()
|
await shutdown_event.wait()
|
||||||
except KeyboardInterrupt:
|
|
||||||
raise
|
|
||||||
finally:
|
finally:
|
||||||
_LOGGER.info("Shutting down...")
|
_LOGGER.info("Shutting down...")
|
||||||
STOP_EVENT.set()
|
STOP_EVENT.set()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user