From 83c94895b01c370ad02557a9b629b7f245450ec8 Mon Sep 17 00:00:00 2001 From: omg-xtao <100690902+omg-xtao@users.noreply.github.com> Date: Sat, 15 Oct 2022 00:23:10 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=E9=87=8D?= =?UTF-8?q?=E7=AD=BE=E5=AE=8C=E6=88=90=E4=B8=8D=E6=9B=B4=E6=96=B0=E7=8A=B6?= =?UTF-8?q?=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/jobs/sign.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/jobs/sign.py b/plugins/jobs/sign.py index 95efd066..341463b3 100644 --- a/plugins/jobs/sign.py +++ b/plugins/jobs/sign.py @@ -97,10 +97,11 @@ 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, SignStatusEnum.INVALID_COOKIES]: + if sign_db.status in [SignStatusEnum.STATUS_SUCCESS, SignStatusEnum.ALREADY_CLAIMED]: continue try: text = await self.single_sign(user_id) + sign_db.status = SignStatusEnum.STATUS_SUCCESS except InvalidCookies: text = "自动签到执行失败,Cookie无效" sign_db.status = SignStatusEnum.INVALID_COOKIES