Skip to content

Commit d166c59

Browse files
author
root
committed
python3 text auditing bug fix
1 parent 27a7ee0 commit d166c59

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)