mirror of
https://github.com/PaiGramTeam/MibooGram.git
synced 2024-12-12 07:28:55 +00:00
🐛 Fix ALREADY_CLAIMED status job rerun
This commit is contained in:
parent
abb9289300
commit
5e5370194b
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user