🐛 重签忽略 Cookie 过期

This commit is contained in:
omg-xtao 2022-10-14 00:40:39 +08:00 committed by GitHub
parent cfd6bad8bc
commit fd1351ece1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,7 +97,7 @@ class SignJob(Plugin):
if sign_db.status not in [SignStatusEnum.STATUS_SUCCESS, SignStatusEnum.ALREADY_CLAIMED]:
continue
elif context.job.name == "SignAgainJob":
if sign_db.status in [SignStatusEnum.STATUS_SUCCESS, SignStatusEnum.ALREADY_CLAIMED]:
if sign_db.status in [SignStatusEnum.STATUS_SUCCESS, SignStatusEnum.ALREADY_CLAIMED, SignStatusEnum.INVALID_COOKIES]:
continue
try:
text = await self.single_sign(user_id)