mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-25 18:04:10 +00:00
🐛 重签忽略 Cookie 过期
This commit is contained in:
parent
cfd6bad8bc
commit
fd1351ece1
@ -97,7 +97,7 @@ class SignJob(Plugin):
|
|||||||
if sign_db.status not in [SignStatusEnum.STATUS_SUCCESS, SignStatusEnum.ALREADY_CLAIMED]:
|
if sign_db.status not in [SignStatusEnum.STATUS_SUCCESS, SignStatusEnum.ALREADY_CLAIMED]:
|
||||||
continue
|
continue
|
||||||
elif context.job.name == "SignAgainJob":
|
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
|
continue
|
||||||
try:
|
try:
|
||||||
text = await self.single_sign(user_id)
|
text = await self.single_sign(user_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user