🐛 Fix daily note task status update

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

View File

@ -249,8 +249,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