From 7e2f2dbea77fd0df75d55cd45a41013d4e6b1746 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E?= Date: Wed, 21 Jul 2021 07:50:26 +0000 Subject: [PATCH] =?UTF-8?q?CI=E6=B5=8B=E8=AF=95=E5=8D=95=EF=BC=8C=E8=AF=B7?= =?UTF-8?q?=E5=8B=BF=E5=90=88=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/utils.py b/src/core/utils.py index 4e2af8e..99b1c7e 100755 --- a/src/core/utils.py +++ b/src/core/utils.py @@ -141,8 +141,6 @@ def is_32_bit_test(): if target_cpu == "arm": return True return False - - def get_decode(stream): if not isinstance(stream, str) and not isinstance(stream, bytes): ret = str(stream) @@ -151,4 +149,5 @@ def get_decode(stream): ret = stream.decode("utf-8", errors="ignore") except (ValueError, AttributeError, TypeError): ret = str(stream) + return ret -- Gitee