From 17a40c2199bc3041b063f3d10aca7607bad80bb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=9B=E6=B0=B4=E5=B1=85=E5=AE=A4?= Date: Tue, 14 Mar 2023 10:45:26 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20incorrect=20exception=20ha?= =?UTF-8?q?ndling?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/tools/challenge.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/tools/challenge.py b/plugins/tools/challenge.py index 70cb283..411eb31 100644 --- a/plugins/tools/challenge.py +++ b/plugins/tools/challenge.py @@ -57,6 +57,7 @@ class ChallengeSystem(Plugin): except GenshinException as exc: if exc.retcode != 1034: raise exc + else: raise ChallengeSystemException("账户正常,无需认证") verify = Verify(cookies=client.cookie_manager.cookies) try: