mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-12-26 19:35:37 +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:
|
||||
title = "自动重新签到"
|
||||
include_status.remove(TaskStatusEnum.STATUS_SUCCESS)
|
||||
include_status.remove(TaskStatusEnum.ALREADY_CLAIMED)
|
||||
else:
|
||||
raise ValueError
|
||||
sign_list = await self.sign_service.get_all()
|
||||
|
Loading…
Reference in New Issue
Block a user