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

Commit

Permalink
remove asscess key
Browse files Browse the repository at this point in the history
  • Loading branch information
Bidaya0 committed Dec 13, 2021
1 parent ae7e785 commit e4558e6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions apiserver/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ def download_file_to_path(access_key, access_key_secret, bucket_url, bucket_name

@staticmethod
def download_file(object_name, local_file):
return OssDownloader.download_file_to_path(access_key=settings.ACCESS_KEY,
access_key_secret=settings.ACCESS_KEY_SECRET,
bucket_url=OssDownloader.BUCKET_URL,
bucket_name=OssDownloader.BUCKET_NAME,
object_name=object_name,
local_file=local_file)
return OssDownloader.download_file_to_path( #access_key=settings.ACCESS_KEY,
#access_key_secret=settings.ACCESS_KEY_SECRET,
bucket_url=OssDownloader.BUCKET_URL,
bucket_name=OssDownloader.BUCKET_NAME,
object_name=object_name,
local_file=local_file)


def base64_decode(raw):
Expand Down

0 comments on commit e4558e6

Please sign in to comment.