mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-16 04:35:49 +00:00
🐛 Fix SignJob
Not Handling Daily Reward Again When Status is NEED_CHALLENGE
This commit is contained in:
parent
5f3da3b55c
commit
1d50f367b5
@ -42,7 +42,6 @@ class SignJob(Plugin):
|
||||
if sign_db.status in [
|
||||
SignStatusEnum.INVALID_COOKIES,
|
||||
SignStatusEnum.FORBIDDEN,
|
||||
SignStatusEnum.NEED_CHALLENGE,
|
||||
]:
|
||||
continue
|
||||
if context.job.name == "SignJob":
|
||||
@ -77,8 +76,7 @@ class SignJob(Plugin):
|
||||
sign_db.status = SignStatusEnum.TIMEOUT_ERROR
|
||||
except NeedChallenge:
|
||||
text = "签到失败,触发验证码风控"
|
||||
if context.job.name == "SignAgainJob":
|
||||
sign_db.status = SignStatusEnum.NEED_CHALLENGE
|
||||
sign_db.status = SignStatusEnum.NEED_CHALLENGE
|
||||
except Exception as exc:
|
||||
logger.error(f"执行自动签到时发生错误 用户UID[{user_id}]")
|
||||
logger.exception(exc)
|
||||
|
Loading…
Reference in New Issue
Block a user