mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-21 22:58:05 +00:00
🐛 Fix daily note task status update
This commit is contained in:
parent
ca0ceaf93c
commit
fed5eb3cd2
@ -311,8 +311,6 @@ class DailyNoteSystem(Plugin):
|
||||
try:
|
||||
async with self.genshin_helper.genshin(user_id) as client:
|
||||
text = await self.start_get_notes(client, task_db)
|
||||
if all(not i for i in text):
|
||||
continue
|
||||
except InvalidCookies:
|
||||
text = "自动便签提醒执行失败,Cookie无效"
|
||||
task_db.status = TaskStatusEnum.INVALID_COOKIES
|
||||
|
Loading…
Reference in New Issue
Block a user