🐛 Fix ALREADY_CLAIMED status job rerun

This commit is contained in:
xtaodada 2024-12-10 00:23:14 +08:00
parent abb9289300
commit 5e5370194b
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -234,6 +234,7 @@ class SignSystem(Plugin):
elif job_type == SignJobType.REDO: elif job_type == SignJobType.REDO:
title = "自动重新签到" title = "自动重新签到"
include_status.remove(TaskStatusEnum.STATUS_SUCCESS) include_status.remove(TaskStatusEnum.STATUS_SUCCESS)
include_status.remove(TaskStatusEnum.ALREADY_CLAIMED)
else: else:
raise ValueError raise ValueError
sign_list = await self.sign_service.get_all() sign_list = await self.sign_service.get_all()