modified: ali_oss.py

modified:   config.py
	modified:   main.py
	new file:   winsrc.bat
This commit is contained in:
铭坤
2026-04-19 15:38:09 +08:00
parent 34ed15a9bd
commit 3ffbb2b004
4 changed files with 41 additions and 7 deletions

View File

@@ -14,7 +14,6 @@ def upload_file(file_content: bytes, key: str):
cfg.credentials_provider = credentials_provider
cfg.region = region
cfg.endpoint = endpoint
cfg.retry_max_attempts = 3
client = oss.Client(cfg)
result = client.put_object(