mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-22 07:07:46 +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:
|
try:
|
||||||
async with self.genshin_helper.genshin(user_id) as client:
|
async with self.genshin_helper.genshin(user_id) as client:
|
||||||
text = await self.start_get_notes(client, task_db)
|
text = await self.start_get_notes(client, task_db)
|
||||||
if all(not i for i in text):
|
|
||||||
continue
|
|
||||||
except InvalidCookies:
|
except InvalidCookies:
|
||||||
text = "自动便签提醒执行失败,Cookie无效"
|
text = "自动便签提醒执行失败,Cookie无效"
|
||||||
task_db.status = TaskStatusEnum.INVALID_COOKIES
|
task_db.status = TaskStatusEnum.INVALID_COOKIES
|
||||||
|
Loading…
Reference in New Issue
Block a user