Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
farfun committed Dec 26, 2024
1 parent 21d148a commit 93b1569
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions logs/all.log
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
2024-12-26 17:17:12.377 |INFO | funbuild.core.core : core: 86 | funbuild | - fundrive build
2024-12-26 17:17:12.377 |INFO | funbuild.core.core : core: 74 | funbuild | - fundrive pull
2024-12-26 17:17:21.113 |INFO | funbuild.core.core : core: 78 | funbuild | - fundrive push
2024-12-26 17:20:57.407 |INFO | funbuild.core.core : core: 86 | funbuild | - fundrive build
2024-12-26 17:20:57.408 |INFO | funbuild.core.core : core: 74 | funbuild | - fundrive pull
2024-12-26 17:21:03.872 |INFO | funbuild.core.core : core: 78 | funbuild | - fundrive push
3 changes: 3 additions & 0 deletions logs/funbuild.log
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
2024-12-26 17:17:12.377 |INFO | funbuild.core.core : core: 86 | funbuild | - fundrive build
2024-12-26 17:17:12.377 |INFO | funbuild.core.core : core: 74 | funbuild | - fundrive pull
2024-12-26 17:17:21.113 |INFO | funbuild.core.core : core: 78 | funbuild | - fundrive push
2024-12-26 17:20:57.407 |INFO | funbuild.core.core : core: 86 | funbuild | - fundrive build
2024-12-26 17:20:57.408 |INFO | funbuild.core.core : core: 74 | funbuild | - fundrive pull
2024-12-26 17:21:03.872 |INFO | funbuild.core.core : core: 78 | funbuild | - fundrive push
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "fundrive"
version = "1.2.90"
version = "1.2.91"
description = "fundrive"
readme = "README.md"
requires-python = ">=3.8"
Expand Down
2 changes: 1 addition & 1 deletion src/fundrive/drives/baidu/drive.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self, *args, **kwargs):
super(BaiDuDrive, self).__init__(*args, **kwargs)
self.drive: BaiduPCSApi = None

def login(self, bduss, stoken, ptoken, *args, **kwargs) -> bool:
def login(self, bduss=None, stoken=None, ptoken=None, *args, **kwargs) -> bool:
bduss = bduss or read_secret("fundrive", "baidu", "bduss")
stoken = stoken or read_secret("fundrive", "baidu", "stoken")
ptoken = ptoken or read_secret("fundrive", "baidu", "ptoken")
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 93b1569

Please sign in to comment.