fix black for stream (#39622)

This commit is contained in:
Chris Talkington 2020-09-03 11:54:04 -05:00 committed by GitHub
parent bde0bdbf80
commit a0663d84d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,
)