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
Jonathan Keljo 2019-08-17 19:32:01 -07:00 committed by Andrew Sayre
parent 88ff25b509
commit 8da1879599
1 changed files with 1 additions and 1 deletions

View File

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