uiprotect 6.0.0__py3-none-any.whl → 6.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of uiprotect might be problematic. Click here for more details.

uiprotect/websocket.py CHANGED
@@ -119,14 +119,13 @@ class Websocket:
119
119
  async def _websocket_inner_loop(self, url: URL) -> None:
120
120
  _LOGGER.debug("Connecting WS to %s", url)
121
121
  await self._attempt_auth(False)
122
- ssl = True if self.verify else False
123
122
  msg: WSMessage | None = None
124
123
  self._seen_non_close_message = False
125
124
  session = await self._get_session()
126
125
  # catch any and all errors for Websocket so we can clean up correctly
127
126
  try:
128
127
  self._ws_connection = await session.ws_connect(
129
- url, ssl=ssl, headers=self._headers, timeout=self.timeout
128
+ url, ssl=self.verify, headers=self._headers, timeout=self.timeout
130
129
  )
131
130
  while True:
132
131
  msg = await self._ws_connection.receive(self.receive_timeout)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: uiprotect
3
- Version: 6.0.0
3
+ Version: 6.0.1
4
4
  Summary: Python API for Unifi Protect (Unofficial)
5
5
  Home-page: https://github.com/uilibs/uiprotect
6
6
  Author: UI Protect Maintainers
@@ -29,9 +29,9 @@ uiprotect/stream.py,sha256=McV3XymKyjn-1uV5jdQHcpaDjqLS4zWyMASQ8ubcyb4,4924
29
29
  uiprotect/test_util/__init__.py,sha256=Ky8mTL61nhp5II2mxTKBAsSGvNqK8U_CfKC5AGwToAI,18704
30
30
  uiprotect/test_util/anonymize.py,sha256=f-8ijU-_y9r-uAbhIPn0f0I6hzJpAkvJzc8UpWihObI,8478
31
31
  uiprotect/utils.py,sha256=jIWT7n_reL90oY91svBfQ4naRxo28qHzP5jNOL12mQE,20342
32
- uiprotect/websocket.py,sha256=f3YdRg4iKkvyQLz9H9rQ3RdhiEudNwWO4ONaXF6OJ4Y,8130
33
- uiprotect-6.0.0.dist-info/LICENSE,sha256=INx18jhdbVXMEiiBANeKEbrbz57ckgzxk5uutmmcxGk,1111
34
- uiprotect-6.0.0.dist-info/METADATA,sha256=6sFvO3w3TeFmN-tU8nvrw8lvdg_soSuCgtcDPFje2_E,11010
35
- uiprotect-6.0.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
36
- uiprotect-6.0.0.dist-info/entry_points.txt,sha256=J78AUTPrTTxgI3s7SVgrmGqDP7piX2wuuEORzhDdVRA,47
37
- uiprotect-6.0.0.dist-info/RECORD,,
32
+ uiprotect/websocket.py,sha256=xCeEGB49IIBoAh1S8dqi6e8GM-SH66joTkf1BItq9vY,8093
33
+ uiprotect-6.0.1.dist-info/LICENSE,sha256=INx18jhdbVXMEiiBANeKEbrbz57ckgzxk5uutmmcxGk,1111
34
+ uiprotect-6.0.1.dist-info/METADATA,sha256=fg6X-VIjbxGYqhr62E9t3HKr34AX9h5YNNl4SJqX-6E,11010
35
+ uiprotect-6.0.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
36
+ uiprotect-6.0.1.dist-info/entry_points.txt,sha256=J78AUTPrTTxgI3s7SVgrmGqDP7piX2wuuEORzhDdVRA,47
37
+ uiprotect-6.0.1.dist-info/RECORD,,