Skip to content

Commit

Permalink
Fix is_alive for encrypted TVs (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
epenet authored Dec 6, 2024
1 parent d70dcc1 commit db4bf08
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions samsungtvws/encrypted/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,5 @@ async def close(self) -> None:

def is_alive(self) -> bool:
return (
self._connection is not None
and not self._connection.state is not State.CLOSED
self._connection is not None and self._connection.state is not State.CLOSED
)

0 comments on commit db4bf08

Please sign in to comment.