fix alipan

This commit is contained in:
jxxghp
2024-11-24 17:55:08 +08:00
parent 28805e9e17
commit 7f83d56a7e
4 changed files with 14 additions and 24 deletions

View File

@@ -339,6 +339,9 @@ class U115Pan(StorageBase, metaclass=Singleton):
def upload(self, fileitem: schemas.FileItem, path: Path, new_name: str = None) -> Optional[schemas.FileItem]:
"""
上传文件
:param fileitem: 上传目录项
:param path: 本地文件路径
:param new_name: 上传后文件名
"""
if not self.client:
return None