Skip to content

Commit

Permalink
fix 下载图片变小问题
Browse files Browse the repository at this point in the history
  • Loading branch information
lemisky committed Feb 6, 2025
1 parent 166c97e commit 8977093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aligo/apis/Download.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def download_file(
if file.type == 'folder':
raise AligoException('文件类型不对:期待文件,得到的是文件夹')
file_path = os.path.join(local_folder, file.name)
url = file.download_url or file.url or self._core_get_download_url(GetDownloadUrlRequest(
url = file.download_url or self._core_get_download_url(GetDownloadUrlRequest(
file_id=file.file_id,
drive_id=file.drive_id,
file_name=file.name,
Expand Down

0 comments on commit 8977093

Please sign in to comment.