mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 08:17:08 +00:00
fix black for stream (#39622)
This commit is contained in:
parent
bde0bdbf80
commit
a0663d84d2
@ -50,7 +50,9 @@ def stream_worker(hass, stream, quit_event):
|
||||
# To avoid excessive restarts, don't restart faster than once every 40 seconds.
|
||||
wait_timeout = max(40 - (time.time() - start_time), 0)
|
||||
_LOGGER.debug(
|
||||
"Restarting stream worker in %d seconds: %s", wait_timeout, stream.source,
|
||||
"Restarting stream worker in %d seconds: %s",
|
||||
wait_timeout,
|
||||
stream.source,
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user