🐛 Fix daily note task status update

This commit is contained in:
xtaodada 2023-07-28 09:36:52 +08:00
parent ca0ceaf93c
commit fed5eb3cd2
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -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