From bb25bf762141a5945e007b71b9a17b8816a6d997 Mon Sep 17 00:00:00 2001 From: Aaron3S Date: Tue, 27 Sep 2022 15:16:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E8=A7=A3=E5=AF=86?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E6=8A=9B=E5=87=BA=E8=8C=83=E5=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/common/utils/crypto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/common/utils/crypto.py b/apps/common/utils/crypto.py index b39dedad8..4ae6814c5 100644 --- a/apps/common/utils/crypto.py +++ b/apps/common/utils/crypto.py @@ -244,7 +244,7 @@ class Crypto: if origin_text: # 有时不同算法解密不报错,但是返回空字符串 return origin_text - except (TypeError, ValueError, UnicodeDecodeError, IndexError): + except Exception: continue