Fix background crash in sisyphus integration (#26032)
I think I was thinking in another language, since this was not valid Python. Result was that the thread that maintained the SocketIO connection to the table would die early on, so no status updates were actually flowing from the table.pull/26035/head
parent
88ff25b509
commit
8da1879599
|
@ -35,7 +35,7 @@ async def async_setup(hass, config):
|
|||
"""Filters out excessively verbose logs from SocketIO."""
|
||||
|
||||
def filter(self, record):
|
||||
if record.msg.contains("waiting for connection"):
|
||||
if "waiting for connection" in record.msg:
|
||||
return False
|
||||
return True
|
||||
|
||||
|
|
Loading…
Reference in New Issue