Skip to content

Commit

Permalink
Fix is_alive for encrypted TVs
Browse files Browse the repository at this point in the history
  • Loading branch information
epenet committed Dec 6, 2024
1 parent d70dcc1 commit 588a76a
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 588a76a

Please sign in to comment.