feat:切换使用python-115

This commit is contained in:
jxxghp
2024-11-17 02:10:45 +08:00
parent 510c20dc70
commit 293e417865
5 changed files with 151 additions and 189 deletions
+1 -1
View File
@@ -347,7 +347,7 @@ class AliPan(StorageBase):
"""
if not self.aligo:
return None
local_path = self.aligo.download_file(file_id=fileitem.fileid, drive_id=fileitem.drive_id,
local_path = self.aligo.download_file(file_id=fileitem.fileid, drive_id=fileitem.drive_id, # noqa
local_folder=str(path or settings.TEMP_PATH))
if local_path:
return Path(local_path)