From 32a4a3899e09d232d3fe90de4f05cbc8c34b985a Mon Sep 17 00:00:00 2001 From: farfun <1007530194@qq.com> Date: Mon, 30 Dec 2024 17:44:45 +0800 Subject: [PATCH] add --- logs/all.log | 3 +++ logs/funbuild.log | 3 +++ pyproject.toml | 2 +- src/fundrive/core/base.py | 2 +- src/fundrive/drives/baidu/drive.py | 2 +- uv.lock | 2 +- 6 files changed, 10 insertions(+), 4 deletions(-) diff --git a/logs/all.log b/logs/all.log index bc6938a..c1c6c6a 100644 --- a/logs/all.log +++ b/logs/all.log @@ -4,3 +4,6 @@ 2024-12-30 17:43:44.034 |INFO | funbuild.core.core : core: 86 | funbuild | - fundrive build 2024-12-30 17:43:44.034 |INFO | funbuild.core.core : core: 74 | funbuild | - fundrive pull 2024-12-30 17:43:45.168 |INFO | funbuild.core.core : core: 78 | funbuild | - fundrive push +2024-12-30 17:44:36.956 |INFO | funbuild.core.core : core: 86 | funbuild | - fundrive build +2024-12-30 17:44:36.956 |INFO | funbuild.core.core : core: 74 | funbuild | - fundrive pull +2024-12-30 17:44:45.394 |INFO | funbuild.core.core : core: 78 | funbuild | - fundrive push diff --git a/logs/funbuild.log b/logs/funbuild.log index bc6938a..c1c6c6a 100644 --- a/logs/funbuild.log +++ b/logs/funbuild.log @@ -4,3 +4,6 @@ 2024-12-30 17:43:44.034 |INFO | funbuild.core.core : core: 86 | funbuild | - fundrive build 2024-12-30 17:43:44.034 |INFO | funbuild.core.core : core: 74 | funbuild | - fundrive pull 2024-12-30 17:43:45.168 |INFO | funbuild.core.core : core: 78 | funbuild | - fundrive push +2024-12-30 17:44:36.956 |INFO | funbuild.core.core : core: 86 | funbuild | - fundrive build +2024-12-30 17:44:36.956 |INFO | funbuild.core.core : core: 74 | funbuild | - fundrive pull +2024-12-30 17:44:45.394 |INFO | funbuild.core.core : core: 78 | funbuild | - fundrive push diff --git a/pyproject.toml b/pyproject.toml index 8c2caf7..4f46888 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "fundrive" -version = "1.2.93" +version = "1.2.94" description = "fundrive" readme = "README.md" requires-python = ">=3.8" diff --git a/src/fundrive/core/base.py b/src/fundrive/core/base.py index 147bb92..8f92c1b 100644 --- a/src/fundrive/core/base.py +++ b/src/fundrive/core/base.py @@ -211,7 +211,7 @@ def upload_dir( """ raise NotImplementedError() - def share(self, *fids: str, password: str, expire_days: int = 0,description=""): + def share(self, *fids: str, password: str, expire_days: int = 0, description=""): raise NotImplementedError() def save_shared(self, shared_url: str, fid: str, password: Optional[str] = None): diff --git a/src/fundrive/drives/baidu/drive.py b/src/fundrive/drives/baidu/drive.py index 8d1917a..84b4898 100644 --- a/src/fundrive/drives/baidu/drive.py +++ b/src/fundrive/drives/baidu/drive.py @@ -95,7 +95,7 @@ def download_file( logger.error(f"Failed to download file {fid}: {e}") return False - def share(self, *fids: str, password: str, expire_days: int = 0,description=""): + def share(self, *fids: str, password: str, expire_days: int = 0, description=""): self.drive.share(*fids, password=password, period=expire_days) def save_shared( diff --git a/uv.lock b/uv.lock index 443bc7f..b6d2555 100644 --- a/uv.lock +++ b/uv.lock @@ -451,7 +451,7 @@ wheels = [ [[package]] name = "fundrive" -version = "1.2.93" +version = "1.2.94" source = { virtual = "." } dependencies = [ { name = "funget" },