mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-12-26 11:32:43 +00:00
🐛 Fix ALREADY_CLAIMED status job rerun
This commit is contained in:
parent
8a4beff4fc
commit
245e95784d
@ -238,6 +238,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()
|
||||||
|
Loading…
Reference in New Issue
Block a user