diff --git a/logs/all.log b/logs/all.log index 0c296b6..40b5ae1 100644 --- a/logs/all.log +++ b/logs/all.log @@ -1,21 +1,3 @@ -2024-12-20 11:55:02.354 |INFO | funbuild.core.core : core: 86 | funbuild | - fundrive build -2024-12-20 11:55:02.357 |INFO | funbuild.core.core : core: 74 | funbuild | - fundrive pull -2024-12-20 11:55:11.226 |INFO | funbuild.core.core : core: 78 | funbuild | - fundrive push -2024-12-20 13:39:43.195 |INFO | funbuild.core.core : core: 86 | funbuild | - fundrive build -2024-12-20 13:39:43.195 |INFO | funbuild.core.core : core: 74 | funbuild | - fundrive pull -2024-12-20 13:39:52.209 |INFO | funbuild.core.core : core: 78 | funbuild | - fundrive push -2024-12-20 14:01:14.904 |INFO | funbuild.core.core : core: 86 | funbuild | - fundrive build -2024-12-20 14:01:14.904 |INFO | funbuild.core.core : core: 74 | funbuild | - fundrive pull -2024-12-20 14:01:23.129 |INFO | funbuild.core.core : core: 78 | funbuild | - fundrive push -2024-12-20 15:10:44.414 |INFO | funbuild.core.core : core: 86 | funbuild | - fundrive build -2024-12-20 15:10:44.414 |INFO | funbuild.core.core : core: 74 | funbuild | - fundrive pull -2024-12-20 15:10:52.221 |INFO | funbuild.core.core : core: 78 | funbuild | - fundrive push -2024-12-20 15:11:29.228 |INFO | funbuild.core.core : core: 86 | funbuild | - fundrive build -2024-12-20 15:11:29.229 |INFO | funbuild.core.core : core: 74 | funbuild | - fundrive pull -2024-12-20 15:11:36.051 |INFO | funbuild.core.core : core: 78 | funbuild | - fundrive push -2024-12-20 15:11:49.922 |INFO | funbuild.core.core : core: 86 | funbuild | - fundrive build -2024-12-20 15:11:49.923 |INFO | funbuild.core.core : core: 74 | funbuild | - fundrive pull -2024-12-20 15:11:56.366 |INFO | funbuild.core.core : core: 78 | funbuild | - fundrive push -2024-12-20 15:13:18.996 |INFO | funbuild.core.core : core: 86 | funbuild | - fundrive build -2024-12-20 15:13:18.996 |INFO | funbuild.core.core : core: 74 | funbuild | - fundrive pull -2024-12-20 15:13:27.320 |INFO | funbuild.core.core : core: 78 | funbuild | - fundrive push +2024-12-23 20:51:38.197 |INFO | funbuild.core.core : core: 86 | funbuild | - fundrive build +2024-12-23 20:51:38.202 |INFO | funbuild.core.core : core: 74 | funbuild | - fundrive pull +2024-12-23 20:51:46.817 |INFO | funbuild.core.core : core: 78 | funbuild | - fundrive push diff --git a/logs/funbuild.log b/logs/funbuild.log index 0c296b6..40b5ae1 100644 --- a/logs/funbuild.log +++ b/logs/funbuild.log @@ -1,21 +1,3 @@ -2024-12-20 11:55:02.354 |INFO | funbuild.core.core : core: 86 | funbuild | - fundrive build -2024-12-20 11:55:02.357 |INFO | funbuild.core.core : core: 74 | funbuild | - fundrive pull -2024-12-20 11:55:11.226 |INFO | funbuild.core.core : core: 78 | funbuild | - fundrive push -2024-12-20 13:39:43.195 |INFO | funbuild.core.core : core: 86 | funbuild | - fundrive build -2024-12-20 13:39:43.195 |INFO | funbuild.core.core : core: 74 | funbuild | - fundrive pull -2024-12-20 13:39:52.209 |INFO | funbuild.core.core : core: 78 | funbuild | - fundrive push -2024-12-20 14:01:14.904 |INFO | funbuild.core.core : core: 86 | funbuild | - fundrive build -2024-12-20 14:01:14.904 |INFO | funbuild.core.core : core: 74 | funbuild | - fundrive pull -2024-12-20 14:01:23.129 |INFO | funbuild.core.core : core: 78 | funbuild | - fundrive push -2024-12-20 15:10:44.414 |INFO | funbuild.core.core : core: 86 | funbuild | - fundrive build -2024-12-20 15:10:44.414 |INFO | funbuild.core.core : core: 74 | funbuild | - fundrive pull -2024-12-20 15:10:52.221 |INFO | funbuild.core.core : core: 78 | funbuild | - fundrive push -2024-12-20 15:11:29.228 |INFO | funbuild.core.core : core: 86 | funbuild | - fundrive build -2024-12-20 15:11:29.229 |INFO | funbuild.core.core : core: 74 | funbuild | - fundrive pull -2024-12-20 15:11:36.051 |INFO | funbuild.core.core : core: 78 | funbuild | - fundrive push -2024-12-20 15:11:49.922 |INFO | funbuild.core.core : core: 86 | funbuild | - fundrive build -2024-12-20 15:11:49.923 |INFO | funbuild.core.core : core: 74 | funbuild | - fundrive pull -2024-12-20 15:11:56.366 |INFO | funbuild.core.core : core: 78 | funbuild | - fundrive push -2024-12-20 15:13:18.996 |INFO | funbuild.core.core : core: 86 | funbuild | - fundrive build -2024-12-20 15:13:18.996 |INFO | funbuild.core.core : core: 74 | funbuild | - fundrive pull -2024-12-20 15:13:27.320 |INFO | funbuild.core.core : core: 78 | funbuild | - fundrive push +2024-12-23 20:51:38.197 |INFO | funbuild.core.core : core: 86 | funbuild | - fundrive build +2024-12-23 20:51:38.202 |INFO | funbuild.core.core : core: 74 | funbuild | - fundrive pull +2024-12-23 20:51:46.817 |INFO | funbuild.core.core : core: 78 | funbuild | - fundrive push diff --git a/pyproject.toml b/pyproject.toml index db354f4..c4cd6fc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "fundrive" -version = "1.2.81" +version = "1.2.82" description = "fundrive" readme = "README.md" requires-python = ">=3.8" diff --git a/src/fundrive/drives/alipan/drive.py b/src/fundrive/drives/alipan/drive.py index f8a5619..52335bd 100644 --- a/src/fundrive/drives/alipan/drive.py +++ b/src/fundrive/drives/alipan/drive.py @@ -17,9 +17,9 @@ def __init__(self, *args, **kwargs): self.drive = Aligo() def login( - self, server_url=None, username=None, password=None, *args, **kwargs + self, server_url=None, refresh_token=None, password=None, *args, **kwargs ) -> bool: - refresh_token = username or read_secret( + refresh_token = refresh_token or read_secret( "fundrive", "drives", "alipan", "refresh_token" ) try: diff --git a/uv.lock b/uv.lock index e6ec866..e3a4e88 100644 --- a/uv.lock +++ b/uv.lock @@ -451,7 +451,7 @@ wheels = [ [[package]] name = "fundrive" -version = "1.2.81" +version = "1.2.82" source = { virtual = "." } dependencies = [ { name = "funget" },