p115client 0.0.5.11.8__tar.gz → 0.0.5.11.8.1__tar.gz

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.
Files changed (25) hide show
  1. {p115client-0.0.5.11.8 → p115client-0.0.5.11.8.1}/PKG-INFO +1 -1
  2. {p115client-0.0.5.11.8 → p115client-0.0.5.11.8.1}/p115client/client.py +3 -2
  3. {p115client-0.0.5.11.8 → p115client-0.0.5.11.8.1}/pyproject.toml +1 -1
  4. {p115client-0.0.5.11.8 → p115client-0.0.5.11.8.1}/LICENSE +0 -0
  5. {p115client-0.0.5.11.8 → p115client-0.0.5.11.8.1}/p115client/__init__.py +0 -0
  6. {p115client-0.0.5.11.8 → p115client-0.0.5.11.8.1}/p115client/_upload.py +0 -0
  7. {p115client-0.0.5.11.8 → p115client-0.0.5.11.8.1}/p115client/const.py +0 -0
  8. {p115client-0.0.5.11.8 → p115client-0.0.5.11.8.1}/p115client/exception.py +0 -0
  9. {p115client-0.0.5.11.8 → p115client-0.0.5.11.8.1}/p115client/py.typed +0 -0
  10. {p115client-0.0.5.11.8 → p115client-0.0.5.11.8.1}/p115client/tool/__init__.py +0 -0
  11. {p115client-0.0.5.11.8 → p115client-0.0.5.11.8.1}/p115client/tool/attr.py +0 -0
  12. {p115client-0.0.5.11.8 → p115client-0.0.5.11.8.1}/p115client/tool/download.py +0 -0
  13. {p115client-0.0.5.11.8 → p115client-0.0.5.11.8.1}/p115client/tool/edit.py +0 -0
  14. {p115client-0.0.5.11.8 → p115client-0.0.5.11.8.1}/p115client/tool/export_dir.py +0 -0
  15. {p115client-0.0.5.11.8 → p115client-0.0.5.11.8.1}/p115client/tool/fs_files.py +0 -0
  16. {p115client-0.0.5.11.8 → p115client-0.0.5.11.8.1}/p115client/tool/history.py +0 -0
  17. {p115client-0.0.5.11.8 → p115client-0.0.5.11.8.1}/p115client/tool/iterdir.py +0 -0
  18. {p115client-0.0.5.11.8 → p115client-0.0.5.11.8.1}/p115client/tool/life.py +0 -0
  19. {p115client-0.0.5.11.8 → p115client-0.0.5.11.8.1}/p115client/tool/pool.py +0 -0
  20. {p115client-0.0.5.11.8 → p115client-0.0.5.11.8.1}/p115client/tool/request.py +0 -0
  21. {p115client-0.0.5.11.8 → p115client-0.0.5.11.8.1}/p115client/tool/upload.py +0 -0
  22. {p115client-0.0.5.11.8 → p115client-0.0.5.11.8.1}/p115client/tool/util.py +0 -0
  23. {p115client-0.0.5.11.8 → p115client-0.0.5.11.8.1}/p115client/tool/xys.py +0 -0
  24. {p115client-0.0.5.11.8 → p115client-0.0.5.11.8.1}/p115client/type.py +0 -0
  25. {p115client-0.0.5.11.8 → p115client-0.0.5.11.8.1}/readme.md +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: p115client
3
- Version: 0.0.5.11.8
3
+ Version: 0.0.5.11.8.1
4
4
  Summary: Python 115 webdisk client.
5
5
  Home-page: https://github.com/ChenyangGao/p115client
6
6
  License: MIT
@@ -3579,7 +3579,7 @@ class P115OpenClient(ClientRequestMixin):
3579
3579
  payload = {"file_id": payload}
3580
3580
  elif isinstance(payload, str):
3581
3581
  if payload.startswith("0") or payload.strip(digits):
3582
- if not payload.startswith(("/", "<")):
3582
+ if not payload.startswith(("/", ">")):
3583
3583
  payload = "/" + payload
3584
3584
  payload = {"path": payload}
3585
3585
  else:
@@ -6072,7 +6072,8 @@ class P115Client(P115OpenClient):
6072
6072
  check_response(resp)
6073
6073
  tip_txt = resp["data"]["tip_txt"]
6074
6074
  return {
6075
- "name": tip_txt[:tip_txt.rfind("已经过")],
6075
+ "app_id": app_id,
6076
+ "name": tip_txt[:-10].removeprefix("\ufeff"),
6076
6077
  "icon": resp["data"]["icon"],
6077
6078
  }
6078
6079
  return run_gen_step(gen_step, may_call=False, async_=async_)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "p115client"
3
- version = "0.0.5.11.8"
3
+ version = "0.0.5.11.8.1"
4
4
  description = "Python 115 webdisk client."
5
5
  authors = ["ChenyangGao <wosiwujm@gmail.com>"]
6
6
  license = "MIT"