mirror of
https://github.com/PaiGramTeam/MibooGram.git
synced 2025-02-07 10:44:24 +00:00
🐛 Fix incorrect exception handling
This commit is contained in:
parent
e24cd2a44d
commit
17a40c2199
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user