uiprotect 6.0.0__py3-none-any.whl → 6.0.2__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 +1 -2
- {uiprotect-6.0.0.dist-info → uiprotect-6.0.2.dist-info}/METADATA +2 -2
- {uiprotect-6.0.0.dist-info → uiprotect-6.0.2.dist-info}/RECORD +6 -6
- {uiprotect-6.0.0.dist-info → uiprotect-6.0.2.dist-info}/LICENSE +0 -0
- {uiprotect-6.0.0.dist-info → uiprotect-6.0.2.dist-info}/WHEEL +0 -0
- {uiprotect-6.0.0.dist-info → uiprotect-6.0.2.dist-info}/entry_points.txt +0 -0
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=
|
|
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.
|
|
3
|
+
Version: 6.0.2
|
|
4
4
|
Summary: Python API for Unifi Protect (Unofficial)
|
|
5
5
|
Home-page: https://github.com/uilibs/uiprotect
|
|
6
6
|
Author: UI Protect Maintainers
|
|
@@ -17,7 +17,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
18
|
Classifier: Topic :: Software Development :: Build Tools
|
|
19
19
|
Classifier: Topic :: Software Development :: Libraries
|
|
20
|
-
Requires-Dist: aiofiles (>=
|
|
20
|
+
Requires-Dist: aiofiles (>=24)
|
|
21
21
|
Requires-Dist: aiohttp (>=3.10.0)
|
|
22
22
|
Requires-Dist: aioshutil (>=1.3)
|
|
23
23
|
Requires-Dist: async-timeout (>=3.0.1)
|
|
@@ -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=
|
|
33
|
-
uiprotect-6.0.
|
|
34
|
-
uiprotect-6.0.
|
|
35
|
-
uiprotect-6.0.
|
|
36
|
-
uiprotect-6.0.
|
|
37
|
-
uiprotect-6.0.
|
|
32
|
+
uiprotect/websocket.py,sha256=xCeEGB49IIBoAh1S8dqi6e8GM-SH66joTkf1BItq9vY,8093
|
|
33
|
+
uiprotect-6.0.2.dist-info/LICENSE,sha256=INx18jhdbVXMEiiBANeKEbrbz57ckgzxk5uutmmcxGk,1111
|
|
34
|
+
uiprotect-6.0.2.dist-info/METADATA,sha256=Fnj72kFn6o1TD8jkN2ZDTaqtl-dmBk8RlcH0-nHB6RI,11010
|
|
35
|
+
uiprotect-6.0.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
36
|
+
uiprotect-6.0.2.dist-info/entry_points.txt,sha256=J78AUTPrTTxgI3s7SVgrmGqDP7piX2wuuEORzhDdVRA,47
|
|
37
|
+
uiprotect-6.0.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|