Skip to content

Commit 1c4efc9

Browse files
authored
Merge branch 'master' into master
2 parents a336377 + d166c59 commit 1c4efc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qcloud_cos/cos_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4696,7 +4696,7 @@ def ci_auditing_text_submit(self, Bucket, Key, DetectType, Content=None, Callbac
46964696
if Key:
46974697
Input['Object'] = Key
46984698
if Content:
4699-
Input['Content'] = base64.b64encode(Content)
4699+
Input['Content'] = base64.b64encode(Content).decode('UTF-8')
47004700

47014701
conf = {
47024702
}

0 commit comments

Comments
 (0)