Skip to content

Commit

Permalink
Update WebSocketClientProtocol import
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharee committed May 4, 2024
1 parent 007f630 commit 8829ed1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unifi/cams/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __init__(self, args: argparse.Namespace, logger: logging.Logger) -> None:
self._ssl_context.check_hostname = False
self._ssl_context.verify_mode = ssl.CERT_NONE
self._ssl_context.load_cert_chain(args.cert, args.cert)
self._session: Optional[websockets.legacy.client.WebSocketClientProtocol] = None
self._session: Optional[websockets.client.WebSocketClientProtocol] = None
atexit.register(self.close_streams)

@classmethod
Expand Down

0 comments on commit 8829ed1

Please sign in to comment.