From c9e1d80cc5823bc7f1046ccc763bc0ee1574efce Mon Sep 17 00:00:00 2001 From: tiedu Date: Sun, 10 Dec 2017 19:18:53 +0800 Subject: [PATCH] Update demo.py --- qcloud_cos/demo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcloud_cos/demo.py b/qcloud_cos/demo.py index f1fd38af..c38c8031 100644 --- a/qcloud_cos/demo.py +++ b/qcloud_cos/demo.py @@ -22,7 +22,7 @@ file_name = 'test.txt' with open('test.txt', 'rb') as fp: response = client.put_object( - Bucket='test04-123456789', + Bucket='test04-123456789', # Bucket由bucketname-appid组成 Body=fp, Key=file_name, StorageClass='STANDARD',