From 60df3aeaad13332d244752be53e91844d7acde09 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 2 Jul 2021 08:41:57 +0800 Subject: [PATCH] =?UTF-8?q?vod=E7=BC=96=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/apps/vod/vodclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/apps/vod/vodclient.py b/server/apps/vod/vodclient.py index f630a80..753796a 100644 --- a/server/apps/vod/vodclient.py +++ b/server/apps/vod/vodclient.py @@ -70,4 +70,4 @@ def getSignature(procedure=None): Sha1 = Hmac.digest() Signature = bytes(Sha1) + bytes(Original, 'utf-8') Signature2 = base64.b64encode(Signature) - return str(Signature2) + return str(Signature2, 'UTF-8')