Skip to content
This repository has been archived by the owner on Apr 20, 2022. It is now read-only.

Commit

Permalink
Merge pull request #164 from Bidaya0/fix/ossanomydownload
Browse files Browse the repository at this point in the history
remove asscess key
  • Loading branch information
Bidaya0 authored Dec 13, 2021
2 parents f1e45f4 + 924625c commit 6a357d5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion apiserver/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ class OssDownloader(object):
BUCKET_NAME = 'dongtai'

@staticmethod
def download_file_to_path(access_key, access_key_secret, bucket_url, bucket_name, object_name, local_file,
def download_file_to_path(bucket_url,
bucket_name,
object_name,
local_file,
access_key,
access_key_secret,
anonymous=True):
"""
Expand Down

0 comments on commit 6a357d5

Please sign in to comment.