p115client 0.0.5.11.3__py3-none-any.whl → 0.0.5.11.4__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.
p115client/client.py CHANGED
@@ -6495,7 +6495,7 @@ class P115Client(P115OpenClient):
6495
6495
  lock = self.request_lock
6496
6496
  if is_open_api:
6497
6497
  if "authorization" not in headers:
6498
- yield lock.acquire
6498
+ yield lock.acquire()
6499
6499
  try:
6500
6500
  yield self.login_another_open(
6501
6501
  async_=async_, # type: ignore
@@ -6534,7 +6534,7 @@ class P115Client(P115OpenClient):
6534
6534
  cert_headers = yield fetch_cert_headers()
6535
6535
  headers.update(cert_headers)
6536
6536
  elif is_open_api:
6537
- yield lock.acquire
6537
+ yield lock.acquire()
6538
6538
  try:
6539
6539
  if cert != self.access_token:
6540
6540
  continue
@@ -6550,7 +6550,7 @@ class P115Client(P115OpenClient):
6550
6550
  finally:
6551
6551
  lock.release()
6552
6552
  else:
6553
- yield lock.acquire
6553
+ yield lock.acquire()
6554
6554
  try:
6555
6555
  cookies_new: str = self.cookies_str
6556
6556
  if cookies_equal(cert, cookies_new):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: p115client
3
- Version: 0.0.5.11.3
3
+ Version: 0.0.5.11.4
4
4
  Summary: Python 115 webdisk client.
5
5
  Home-page: https://github.com/ChenyangGao/p115client
6
6
  License: MIT
@@ -33,7 +33,7 @@ Requires-Dist: posixpatht (>=0.0.3)
33
33
  Requires-Dist: python-argtools (>=0.0.1)
34
34
  Requires-Dist: python-asynctools (>=0.1.2)
35
35
  Requires-Dist: python-concurrenttools (>=0.0.8.2)
36
- Requires-Dist: python-cookietools (>=0.0.2.1)
36
+ Requires-Dist: python-cookietools (>=0.0.2.2)
37
37
  Requires-Dist: python-dictattr (>=0.0.4)
38
38
  Requires-Dist: python-encode_uri (>=0.0.1)
39
39
  Requires-Dist: python-filewrap (>=0.2.8)
@@ -1,7 +1,7 @@
1
1
  LICENSE,sha256=o5242_N2TgDsWwFhPn7yr8YJNF7XsJM5NxUMtcT97bc,1100
2
2
  p115client/__init__.py,sha256=1mx7njuAlqcuEWONTjSiiGnXyyNyqOcJyNX1FMHqQ-4,214
3
3
  p115client/_upload.py,sha256=RTYpM_EDFuI3O7yf08f13NdeG0iD03o_V4H6Je6Nsr8,30754
4
- p115client/client.py,sha256=B_0Xe1zNycYjKbO9Yv6MdDWHn8jwgkUmu6rdCvWJ_LU,770968
4
+ p115client/client.py,sha256=MoMylxmwDAWeJ-y06mCaKRVR0NjgUD24I_2_azJmH5k,770974
5
5
  p115client/const.py,sha256=Ks8eYjHYApxlkelVCbSJlpmlCYtbk8fX80jETV72BTY,7754
6
6
  p115client/exception.py,sha256=O4SlfjbtI9GPjzbzJrFaFUZENJFz2qA3VDEKZfdhHbc,3590
7
7
  p115client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -20,7 +20,7 @@ p115client/tool/upload.py,sha256=i6laoeG7GdNO7hvCDVBy8Yv2Is800wL7O5na6a3v70g,159
20
20
  p115client/tool/util.py,sha256=0o9TrXdoPcljgxDDRdxRon41bq1OjuUYCWsR0XLfmPo,3357
21
21
  p115client/tool/xys.py,sha256=vU28Px2yeQzIxxGkopJIpvV6TdOnWJ5xB6NPXpTgM0Y,10306
22
22
  p115client/type.py,sha256=7kOp98uLaYqcTTCgCrb3DRcl8ukMpn7ibsnVvtw2nG8,6250
23
- p115client-0.0.5.11.3.dist-info/LICENSE,sha256=o5242_N2TgDsWwFhPn7yr8YJNF7XsJM5NxUMtcT97bc,1100
24
- p115client-0.0.5.11.3.dist-info/METADATA,sha256=iqs0VoFyKXMrr5xvgK-oE3uLXFBk8pqx9yaOMS437Vk,8240
25
- p115client-0.0.5.11.3.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
26
- p115client-0.0.5.11.3.dist-info/RECORD,,
23
+ p115client-0.0.5.11.4.dist-info/LICENSE,sha256=o5242_N2TgDsWwFhPn7yr8YJNF7XsJM5NxUMtcT97bc,1100
24
+ p115client-0.0.5.11.4.dist-info/METADATA,sha256=L7lHaryh0pFfKjuySaql1a6DZ2yvThXtJ2USa1UrghY,8240
25
+ p115client-0.0.5.11.4.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
26
+ p115client-0.0.5.11.4.dist-info/RECORD,,